Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Query in a stuck state, stats updated and with recompile in use

$
0
0

Hi All,

I have a call to a stored procedure, its currently stuck at the moment, no query plan to look at as its using the WITH RECOMPILE clause, stats on the key tables have been updated and sp_updatestats also executed, yet the query is stuck on on runnable status, there is no wait type, but the last wait type after looking at sysprocesses is SOS_SCHEDULER_YIELD.

Any ideas here anyone.

Thanks.


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>