Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sp_BlitzIndex.sql
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ IF OBJECT_ID('tempdb..#dm_db_index_operational_stats') IS NOT NULL
histogram_steps INT NULL,
modification_counter BIGINT NULL,
percent_modifications DECIMAL(18, 1) NULL,
modifications_before_auto_update INT NULL,
modifications_before_auto_update BIGINT NULL,
index_type_desc NVARCHAR(128) NULL,
table_create_date DATETIME NULL,
table_modify_date DATETIME NULL,
Expand Down Expand Up @@ -2310,7 +2310,7 @@ OPTION (RECOMPILE);';
ELSE ddsp.modification_counter
END AS percent_modifications,
CASE WHEN ddsp.rows < 500 THEN 500
ELSE CAST(( ddsp.rows * .20 ) + 500 AS INT)
ELSE CAST(( ddsp.rows * .20 ) + 500 AS BIGINT)
END AS modifications_before_auto_update,
ISNULL(i.type_desc, ''System Or User Statistic - N/A'') AS index_type_desc,
CONVERT(DATETIME, obj.create_date) AS table_create_date,
Expand Down Expand Up @@ -2401,7 +2401,7 @@ OPTION (RECOMPILE);';
ELSE si.rowmodctr
END AS percent_modifications,
CASE WHEN si.rowcnt < 500 THEN 500
ELSE CAST(( si.rowcnt * .20 ) + 500 AS INT)
ELSE CAST(( si.rowcnt * .20 ) + 500 AS BIGINT)
END AS modifications_before_auto_update,
ISNULL(i.type_desc, ''System Or User Statistic - N/A'') AS index_type_desc,
CONVERT(DATETIME, obj.create_date) AS table_create_date,
Expand Down
Loading