查询SQLSERVER进程的执行的语句
摘要:--检查锁语句usemasterdeclare@spidint;declare@sql_handlebinary(20);set@spid=91SELECT@sql_handle=sql_handleFROMsysprocessesAsAwith(nolock)wherespid=@spidselecttextfrom::fn_get_sql(@sql_handle)
阅读全文
posted @ 2012-11-22 16:04