sql server查看表是否死锁
时间:2021-09-09 16:48:24
收藏:0
阅读:29
1,查看那个表死锁
select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks where resource_type = ‘OBJECT‘
2,结束死锁的进程
kill 70
原文:https://www.cnblogs.com/lanyanzi/p/15245492.html
评论(0)