컴퓨터2010.01.28 04:00
MSSQL 2005 이상부터 사용이 가능합니다.

SELECT sysDa.Name,sysDa.create_date,sysDa.recovery_model_desc, temp.DBSize8KBPage
FROM
(
    SELECT sysMas.database_ID, sysMas.size, (sum(size)*8/1024)-2  AS DBSize8KBPage
    FROM sys.master_Files sysMas
WHERE sysMas.file_guid is Not Null and sysMas.type=0
    GROUP BY sysMas.DataBase_ID, sysMas.size
)
temp
INNER JOIN
Sys.DATABASES sysDa
ON temp.Database_ID = sysDa.DataBase_ID
WHERE sysDa.Name Not In (N'tempdb', N'model', N'master', N'msdb', N'ReportServerTempDB',N'ReportServer')
Posted by Zasfe