Skip to content

Commit ed55d5a

Browse files
authored
Merge pull request #3518 from garyhuntddn/patch-2
Typos in the index script
2 parents 9acc750 + 4592543 commit ed55d5a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sp_BlitzIndex.sql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ BEGIN TRY
14411441
RAISERROR (N'Preferring non-2012 syntax with LEFT JOIN to sys.dm_db_index_operational_stats',0,1) WITH NOWAIT;
14421442

14431443
--NOTE: If you want to use the newer syntax for 2012+, you'll have to change 2147483647 to 11 on line ~819
1444-
--This change was made because on a table with lots of paritions, the OUTER APPLY was crazy slow.
1444+
--This change was made because on a table with lots of partitions, the OUTER APPLY was crazy slow.
14451445

14461446
-- get relevant columns from sys.dm_db_partition_stats, sys.partitions and sys.objects
14471447
IF OBJECT_ID('tempdb..#dm_db_partition_stats_etc') IS NOT NULL
@@ -1627,7 +1627,7 @@ BEGIN TRY
16271627
BEGIN
16281628
RAISERROR (N'Using 2012 syntax to query sys.dm_db_index_operational_stats',0,1) WITH NOWAIT;
16291629
--This is the syntax that will be used if you change 2147483647 to 11 on line ~819.
1630-
--If you have a lot of paritions and this suddenly starts running for a long time, change it back.
1630+
--If you have a lot of partitions and this suddenly starts running for a long time, change it back.
16311631
SET @dsql = N'SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
16321632
SELECT ' + CAST(@DatabaseID AS NVARCHAR(10)) + N' AS database_id,
16331633
ps.object_id,
@@ -5277,7 +5277,7 @@ BEGIN
52775277
FROM #TemporalTables AS t
52785278
OPTION ( RECOMPILE );
52795279

5280-
RAISERROR(N'check_id 121: Optimized For Sequental Keys.', 0,1) WITH NOWAIT;
5280+
RAISERROR(N'check_id 121: Optimized For Sequential Keys.', 0,1) WITH NOWAIT;
52815281
INSERT #BlitzIndexResults ( check_id, Priority, findings_group, finding, [database_name], URL, details, index_definition,
52825282
secret_columns, index_usage_summary, index_size_summary )
52835283

@@ -5560,9 +5560,9 @@ BEGIN
55605560
[table_nc_index_ratio] NUMERIC(29,1),
55615561
[heap_count] INT,
55625562
[heap_gb] NUMERIC(29,1),
5563-
[partioned_table_count] INT,
5564-
[partioned_nc_count] INT,
5565-
[partioned_gb] NUMERIC(29,1),
5563+
[partitioned_table_count] INT,
5564+
[partitioned_nc_count] INT,
5565+
[partitioned_gb] NUMERIC(29,1),
55665566
[filtered_index_count] INT,
55675567
[indexed_view_count] INT,
55685568
[max_table_row_count] INT,
@@ -5625,9 +5625,9 @@ BEGIN
56255625
[table_nc_index_ratio],
56265626
[heap_count],
56275627
[heap_gb],
5628-
[partioned_table_count],
5629-
[partioned_nc_count],
5630-
[partioned_gb],
5628+
[partitioned_table_count],
5629+
[partitioned_nc_count],
5630+
[partitioned_gb],
56315631
[filtered_index_count],
56325632
[indexed_view_count],
56335633
[max_table_row_count],

0 commit comments

Comments
 (0)