(转)2000,2005,2008得到当前实例的所有数据库的容量
摘要:
USE master; GO IF OBJECT_ID('dbo.sp_SDS', 'P') IS NOT NULL DROP PROCEDURE dbo.sp_SDS; GO CREATE PROCEDURE dbo.sp_SDS @TargetDatabase sysname = NULL, -- NULL: all dbs @Level varchar(10) = 'Database', -- or "File" @UpdateUsage bit = 0, -- default no update @Unit char( 阅读全文
posted @ 2011-04-28 17:39 anivie 阅读(196) 评论(0) 推荐(0) 编辑