摘要: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id)tableNamefrom sys.dm_tran_lockswhere resource_type = 'OBJECT 'spid 就是锁住表的进程tableName 就是被锁的表名 阅读全文
posted @ 2012-10-08 16:38 ppshinebl 阅读(138) 评论(0) 推荐(0) 编辑