select request_session_id spid,resource_associated_entity_id,OBJECT_NAME(resource_associated_entity_id) tableName
from sys.dm_tran_locks
where resource_type = 'OBJECT '
order by spid;
exec sp_lock;
--select OBJECT_NAME(890486251);
DBCC INPUTBUFFER(52);
DBCC INPUTBUFFER(53);
sqls2008 studio 中调出 活动监视器 : ctrl+alt+A