SELECT DB_NAME(database_id) AS [Database Name],[Name] AS [Logical Name], ----查询SQL中所有的DataBase的文件大小
[Physical_Name] AS [Physical Name],((size * 8) / 1024) AS [Size(MB)],
[differential_base_time] AS [Differential Base Time]
FROM sys.master_files
时间: 2024-09-28 07:21:59