Skip to content

Commit db6ad0f

Browse files
authored
Merge pull request BrentOzarULTD#1594 from tompazourek/patch-1
Fixed SUBSTRING on sp_BlitzCache Warnings
2 parents 76e3add + 7165880 commit db6ad0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sp_BlitzCache.sql

Lines changed: 3 additions & 3 deletions
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

@@ -4190,7 +4190,7 @@ SELECT DISTINCT
41904190
CASE WHEN is_mstvf = 1 THEN ', MSTVFs' ELSE '' END +
41914191
CASE WHEN is_mm_join = 1 THEN ', Many to Many Merge' ELSE '' END +
41924192
CASE WHEN is_nonsargable = 1 THEN ', non-SARGables' ELSE '' END
4193-
, 2, 200000)
4193+
, 3, 200000)
41944194
FROM ##bou_BlitzCacheProcs b
41954195
WHERE SPID = @@SPID
41964196
AND QueryType LIKE 'Statement (parent%'
@@ -4665,7 +4665,7 @@ BEGIN
46654665
CASE WHEN is_mstvf = 1 THEN '', 60'' ELSE '''' END +
46664666
CASE WHEN is_mm_join = 1 THEN '', 61'' ELSE '''' END +
46674667
CASE WHEN is_nonsargable = 1 THEN '', 62'' ELSE '''' END
4668-
, 2, 200000) AS opserver_warning , ' + @nl ;
4668+
, 3, 200000) AS opserver_warning , ' + @nl ;
46694669
END;
46704670

46714671
SET @columns += N' ExecutionCount AS [# Executions],

0 commit comments

Comments
 (0)