Skip to content

Commit 1688725

Browse files
authored
Fixed SUBSTRING on sp_BlitzCache Warnings
SUBSTRING(warnings, 2, 200000) removed only the initial comma, but we also want to remove the initial space
1 parent d5e39a2 commit 1688725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_BlitzCache.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4115,7 +4115,7 @@ SET Warnings = SUBSTRING(
41154115
CASE WHEN is_mstvf = 1 THEN ', MSTVFs' ELSE '' END +
41164116
CASE WHEN is_mm_join = 1 THEN ', Many to Many Merge' ELSE '' END +
41174117
CASE WHEN is_nonsargable = 1 THEN ', non-SARGables' ELSE '' END
4118-
, 2, 200000)
4118+
, 3, 200000)
41194119
WHERE SPID = @@SPID
41204120
OPTION (RECOMPILE);
41214121

0 commit comments

Comments
 (0)