select db_name(dbid) , count(*) 'connections count'from master..sysprocesseswhere 1=1and spid > 50group by db_name(dbid)order by count(*) desc
沒有留言:
張貼留言