SQL 查看死锁,关闭死锁

select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks
where resource_type = 'OBJECT'

 

kill 62

posted @ 2021-07-02 13:56  子非鱼°  阅读(101)  评论(0编辑  收藏  举报