SELECT * FROM
[Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='SWT_MicroManage' ) go SELECT COUNT(*) AS CONNECTIONS FROM master..sysprocesses go SP_WHO 'swt' go本文共 305 字,大约阅读时间需要 1 分钟。
SELECT * FROM
[Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='SWT_MicroManage' ) go SELECT COUNT(*) AS CONNECTIONS FROM master..sysprocesses go SP_WHO 'swt' go