Skip to content

Commit fccc69d

Browse files
BrentOzarclaude
andcommitted
sp_BlitzIndex: fix extra END from temporal version guard removal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4eabe8 commit fccc69d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sp_BlitzIndex.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,9 +2812,8 @@ OPTION (RECOMPILE);';
28122812
history_table_name, start_column_name, end_column_name, period_name, history_table_object_id )
28132813

28142814
EXEC sp_executesql @dsql, @params = N'@i_DatabaseName NVARCHAR(128)', @i_DatabaseName = @DatabaseName;
2815-
END;
28162815

2817-
SET @dsql=N'SELECT DB_ID(@i_DatabaseName) AS [database_id],
2816+
SET @dsql=N'SELECT DB_ID(@i_DatabaseName) AS [database_id],
28182817
@i_DatabaseName AS database_name,
28192818
t.name AS table_name,
28202819
s.name AS schema_name,

0 commit comments

Comments
 (0)