Skip to content

Commit 4180a63

Browse files
author
Greg Dodd
committed
Update sp_BlitzIndex.sql
Filter the list of missing index query plans to just the missing index for this record
1 parent 14cc079 commit 4180a63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sp_BlitzIndex.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,6 +1674,7 @@ BEGIN TRY
16741674
ORDER BY (q.user_seeks + q.user_scans) DESC, s.total_logical_reads DESC
16751675
) q2
16761676
CROSS APPLY sys.dm_exec_query_plan(q2.plan_handle) p
1677+
WHERE ig.index_group_handle = gs.group_handle
16771678
) '
16781679
END
16791680

0 commit comments

Comments
 (0)