摘要: select count(*) from master.dbo.sysprocesses where dbid=db_id('数据库名称')select count(*)from master..sysprocesses where hostname<>'' and dbid=db_id('数据库名称') 阅读全文
posted @ 2010-05-25 15:58 磊磊猪 阅读(184) 评论(0) 推荐(0)