摘要:
SELECT * FROM [Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='DotNet')select @@MAX_CONNECTIONS --查看最大并发连接数select @@CONNECTIONS ---返回自上次启动 Microsoft® SQL Server™ 以来连接或试图连接的次数select connectnum=count(distinct net_address)-1 from 阅读全文