摘要: selectrequest_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableNamefrom sys.dm_tran_lockswhere resource_type='OBJECT' 阅读全文
posted @ 2022-05-25 10:48 魏三斗 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 查询当前进程信息: SELECTSPID = er.session_id,Status = ses.status,[Login] = ses.login_name,Host = ses.host_name,BlkBy = er.blocking_session_id,DBName = DB_Name 阅读全文
posted @ 2022-05-25 10:47 魏三斗 阅读(1788) 评论(0) 推荐(0) 编辑