摘要: --01.get all database name SELECT DBNAME = DB_NAME(s_mf.database_id) INTO #DN FROM sys.master_files s_mf WHERE s_mf.state = 0 and -- ONLINE HAS_DBACCESS(DB_NAME(s_... 阅读全文
posted @ 2009-01-04 22:17 fmxyw 阅读(417) 评论(0) 推荐(0) 编辑