查询数据库连接数

SELECT * FROM [Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='databaseName' )

posted on 2009-12-25 09:04  imbob  阅读(262)  评论(0编辑  收藏  举报

导航