ASP.NET查看当前 SQL SERVER 连接数量及各状态

select * from sysprocesses where dbid in (select dbid from sysdatabases where name='数据库名称') ORDER BY cpu DESC  sysprocesses 表中保存关于运行在 Microsoft® SQL Server™ 上的进程的信息。这些进程可以是客户端进程或系统进程。sysprocesses 只存储在
相关文章
相关标签/搜索