select
request_session_id spid,
OBJECT_NAME(resource_associated_entity_id) tableName
from
sys.dm_tran_locks
where
resource_type='OBJECT'

--kill 80


SELECT blocking_session_id, wait_duration_ms, session_id FROM sys.dm_os_waiting_tasks

SELECT * FROM Orders WITH (NOLOCK) WHERE OrderID=10248

相关文章:

  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-02-10
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-01-21
  • 2021-12-15
  • 2021-06-03
相关资源
相似解决方案