Skip to content
 

Find Resource Currently Involved in Blocking

SELECT DISTINCT
	objname = object_name(p.object_id)
FROM sys.partitions p
JOIN sys.dm_tran_locks t1
ON p.hobt_id = t1.resource_associated_entity_id


Popular search terms:

post a comment OR Post Your Question on our ASK! Community!