标签:where table sele request code sso oci from lock
下面的代码片段用于查询sqlserver 中死锁的情况,有兴趣的可以研究一下
select
request_session_id spid,
OBJECT_NAME(resource_associated_entity_id) tableName
from
sys.dm_tran_locks
where
resource_type='OBJECT'
标签:where table sele request code sso oci from lock
原文地址:https://www.cnblogs.com/mojiruo/p/11308299.html