select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableNamefrom sys.dm_tran_locks where resource_type=’OBJECT’spid 锁表进程tableName 被锁表名解锁:kill spid
SQL SERVER 死锁
原文:https://www.cnblogs.com/cb168/p/10324229.html