You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sp_BlitzIndex.sql
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2994,6 +2994,7 @@ BEGIN
2994
2994
LEFT OUTER JOIN '+QUOTENAME(@DatabaseName) +N'.sys.partition_range_values prve ON prve.function_id = pf.function_id AND prve.boundary_id = p.partition_number 'ELSEN' 'END
2995
2995
+N' LEFT OUTER JOIN '+QUOTENAME(@DatabaseName) + N'.sys.column_store_segments seg ON p.partition_id = seg.partition_id AND ic.index_column_id = seg.column_id AND rg.row_group_id = seg.segment_id
2996
2996
WHERE rg.object_id = @ObjectID
2997
+
AND rg.state IN (1, 2, 3)
2997
2998
AND c.name IN ( '+ @ColumnListWithApostrophes +N')'
0 commit comments