I'm spilling to tempdb, how do I stop it?
2017-06-30 20:59:05
2017-07-04 20:21:01
Hello,
Did you try hinting the query with OPTION (HASH GROUP) ?