I've deadlock graph in which the locked resource is mentioned by these three fields DB ID, File ID, Page ID. There is also some associated objectid.
All I want to know is what table this page belongs.
I tried DBCC PAGE(dbid, fileid, pageid) with tableresults
but that doesn't show any table name.
Any idea how to get this?
Update: Also tried SELECT name From sys.indexes WHERE object_id = 123 and Index_id = 456
Here 123 is m_objid
(next ObjectId
) and 456 is m_indexid
(next IndexId
) which I get as output for DBCC Page
command. All I get is NULL.