Viewing All Process for a TimeSlice

I see that we can see top 10 or such on processes but how does one see an offending process for a time slice that is registered in the errorlog.  Here is the concept
1) Errorlog notice of a "Exhaustion" 
2020-08-24 10:12:30.560 spid318 The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
2) Shows SPID 318 as the offender

How do I see what the query for that SPID was that threw that error so I can debug it down
Tagged:

Best Answer

Answers

Sign In or Register to comment.