摘要:
select count(*) from master.dbo.sysprocesses where dbid=db_id('数据库名称')select count(*)from master..sysprocesses where hostname<>'' and dbid=db_id('数据库名称') 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1SelectGETDATE()--:2010-03-3113:36:55.07723SelectCONVERT(varchar(100),GETDATE(),0)--:033120101:36PM4... 阅读全文