SQL Server Aggregator

TSQL to identify the transaction with the most locks

SELECT request_session_id, COUNT (*) num_locks FROM sys.dm_tran_locks GROUP BY request_session_id ORDER BY count (*) DESC...( read more ) Read More...
Published Wednesday, August 01, 2007 12:25 AM by SSQA.net
Anonymous comments are disabled