查看Sql Server当前的并发连接数
select count(*) from master.dbo.sysprocesses where dbid=db_id()
select
count(*)
from master..sysprocesses
where hostname<>'' and dbid=db_id('db')
posted on 2008-03-06 11:54 Eric Zhang 阅读(3758) 评论(0) 编辑 收藏 举报
每天,都要积极的生活!
select count(*) from master.dbo.sysprocesses where dbid=db_id()
select
count(*)
from master..sysprocesses
where hostname<>'' and dbid=db_id('db')
posted on 2008-03-06 11:54 Eric Zhang 阅读(3758) 评论(0) 编辑 收藏 举报