Showing posts with label Process blocked. Show all posts
Showing posts with label Process blocked. Show all posts

Friday, February 4, 2011

Ever got stuck due to SQL Server processes ?

Ever got stuck due to SQL Server processes ?
Here is an easy way of finding the culprit and resolving :)

 select * from master..sysprocesses where blocked <> 0  
dbcc inputbuffer(<processid>)
kill <processid>