select OBJECT_NAME(resource_associated_entity_id) As TableName, * from sys.dm_tran_locks
where resource_type = 'OBJECT'
kill 67
百度找的,出处忘了
select OBJECT_NAME(resource_associated_entity_id) As TableName, * from sys.dm_tran_locks
where resource_type = 'OBJECT'
kill 67