Skip to content

Commit a29c825

Browse files
authored
Merge pull request #3124 from BrentOzarULTD/3085_sp_BlitzIndex_OutputParam
#3085 sp_BlitzIndex Output Param
2 parents 04559fa + f16d6c9 commit a29c825

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)