From c9b929e67a25c1df771c902389953871757a937c Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 24 Oct 2024 19:11:40 +0100 Subject: [PATCH] Update data type of reserved MB fields in [#dm_db_partition_stats_etc] to match similar fields in other temp tables. BlitzIndex will now report "size" for indexes less than 1 MB. --- sp_BlitzIndex.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sp_BlitzIndex.sql b/sp_BlitzIndex.sql index 747e42cf..e74a830c 100644 --- a/sp_BlitzIndex.sql +++ b/sp_BlitzIndex.sql @@ -1462,9 +1462,9 @@ BEGIN TRY , partition_number int , partition_id bigint , row_count bigint - , reserved_MB bigint - , reserved_LOB_MB bigint - , reserved_row_overflow_MB bigint + , reserved_MB NUMERIC(29,2) + , reserved_LOB_MB NUMERIC(29,2) + , reserved_row_overflow_MB NUMERIC(29,2) , lock_escalation_desc nvarchar(60) , data_compression_desc nvarchar(60) )