摘要:
selectrequest_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableNamefrom sys.dm_tran_lockswhere resource_type='OBJECT' 阅读全文
摘要:
查询当前进程信息: SELECTSPID = er.session_id,Status = ses.status,[Login] = ses.login_name,Host = ses.host_name,BlkBy = er.blocking_session_id,DBName = DB_Name 阅读全文