Skip to content

Commit f16d6c9

Browse files
committed
#3085 sp_BlitzIndex Output Param
Oops! Almost missed the last minute addition from @paulneering. Closes #3085.
1 parent 04559fa commit f16d6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_BlitzIndex.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@ BEGIN TRY
17141714
they could see performance slowdowns - see Github #3085. */
17151715
DECLARE @MissingIndexPlans BIGINT;
17161716
SET @StringToExecute = N'SELECT @MissingIndexPlans = COUNT(*) FROM ' + QUOTENAME(@DatabaseName) + N'.sys.dm_db_missing_index_group_stats_query;'
1717-
EXEC sp_executesql @StringToExecute, N'@MissingIndexPlans BIGINT OUT', @MissingIndexPlans;
1717+
EXEC sp_executesql @StringToExecute, N'@MissingIndexPlans BIGINT OUT', @MissingIndexPlans OUT;
17181718

17191719
IF @MissingIndexPlans > 1000
17201720
BEGIN

0 commit comments

Comments
 (0)