How to figure out what object is represented by associatedObjectId during blocking?

喜你入骨 提交于 2019-12-05 13:24:09

Answer actually comes from Aaron Bertrand found it on Google Groups. To Get OBJECT_NAME of associatedObjectId you need to run the following query

SELECT OBJECT_NAME([object_id])
    FROM sys.partitions
    WHERE partition_id = 456489945132196

This number 456489945132196 represents value of associatedObjectId from resource_description column from sys.dm_os_waiting_tasks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!