24 April,2007 by Tom Collins
List SQL processes which are blocked. List which SQL processes are blocking other processes.
/****************************************************************** -- Description :processes which are blocked, which processes are blocking other processes -- Last Modified:19/03/2007 ******************************************************************/ SELECT * FROM dbo.sysprocesses WHERE blocked <> 0; SELECT * FROM dbo.sysprocesses WHERE spid IN (SELECT blocked FROM dbo.sysprocesses where blocked <> 0);
sys.sysprocesses and permissions
Cached blocking history with sys.dm_db_index_operational_stats
SQL Server – Deleting Distributed Orphaned Transactions
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |