查看Sql Server的log文件大小

SELECT DB_NAME(database_id) AS DatabaseName,
Name AS Logical_Name,
Physical_Name, (size*8)/1024 SizeMB
FROM sys.master_files
WHERE DB_NAME(database_id) = 'AdventureWorks'
GO

posted @ 2010-02-08 11:14  new 维生素C.net()  阅读(334)  评论(0编辑  收藏  举报