Fixed Bug 2077 SQL Server (#2212)

This commit is contained in:
Kebus1 2017-01-13 14:47:47 +01:00 committed by Cameron Sparr
parent 95bad9e55b
commit 734988d732
1 changed files with 2 additions and 2 deletions

View File

@ -402,8 +402,8 @@ IF OBJECT_ID('tempdb..#baseline') IS NOT NULL
DROP TABLE #baseline;
SELECT
DB_NAME(mf.database_id) AS database_name ,
mf.size as database_size_8k_pages,
mf.max_size as database_max_size_8k_pages,
CAST(mf.size AS BIGINT) as database_size_8k_pages,
CAST(mf.max_size AS BIGINT) as database_max_size_8k_pages,
size_on_disk_bytes ,
type_desc as datafile_type,
GETDATE() AS baselineDate