标签:
SELECT hostname,loginame,* FROM sys.sysprocesses; SELECT count(*),hostname FROM sys.sysprocesses where cmd=‘AWAITING COMMAND‘ group by hostname; SELECT count(*),hostname,loginame FROM sys.sysprocesses where cmd=‘AWAITING COMMAND‘ group by hostname,loginame; SELECT hostname,loginame,* FROM sys.sysprocesses; DBCC INPUTBUFFER(@@spid)
标签:
原文地址:http://www.cnblogs.com/dennysong/p/5703740.html