From 6216da90d96824a8b4c35b3a4b3cf5aca7515880 Mon Sep 17 00:00:00 2001 From: ReeceGoding <67124261+ReeceGoding@users.noreply.github.com> Date: Fri, 7 Nov 2025 19:43:19 +0000 Subject: [PATCH] Added an ORDER BY to the temporal table check, so the Mode=4 output is less ugly when you have lots of them. Closes #3727. --- sp_BlitzIndex.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sp_BlitzIndex.sql b/sp_BlitzIndex.sql index 625fca08..6bb04e87 100644 --- a/sp_BlitzIndex.sql +++ b/sp_BlitzIndex.sql @@ -5650,6 +5650,7 @@ BEGIN 'N/A' AS index_usage_summary, 'N/A' AS index_size_summary FROM #TemporalTables AS t + ORDER BY t.database_name, t.schema_name, t.table_name OPTION ( RECOMPILE ); RAISERROR(N'check_id 121: Optimized For Sequential Keys.', 0,1) WITH NOWAIT;