Strange Values in SYS.DM_TRAN_LOCKS table RESOURCE_ASSOCIATED_ENTITY_ID column

Posted by AJM on Stack Overflow See other posts from Stack Overflow or by AJM
Published on 2010-06-02T12:07:21Z Indexed on 2010/06/02 12:14 UTC
Read the original article Hit count: 265

I’ve been trying to understand some strange values in the RESOURCE_ASSOCIATED_ENTITY_ID column of SYS.DM_TRAN_LOCKS when RESOURCE_TYPE is “OBJECT”. Although these should be object Ids, I cannot determine what object they actually refer to.

I’ve tried everything I can think of, including querying all system tables with columns of type INT and BIGINT to see if I can find the value. No luck. The funny values actually appear in SYS.DM_TRAN_LOCKS, SYS.SYSLOCKINFO and SP_LOCK.

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server