From 7fdf6025b612fda4cf7dd5c46fa3b5a5482318a7 Mon Sep 17 00:00:00 2001 From: DForck42 Date: Thu, 7 Aug 2025 13:15:33 -0500 Subject: [PATCH] fix for sp conversion info length --- sp_BlitzCache.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sp_BlitzCache.sql b/sp_BlitzCache.sql index 19e02afe..7d4175fd 100644 --- a/sp_BlitzCache.sql +++ b/sp_BlitzCache.sql @@ -4072,12 +4072,12 @@ SELECT @@SPID AS SPID, AND ci.comma_paren_charindex > 0 THEN SUBSTRING(ci.expression, ci.paren_charindex, ci.comma_paren_charindex) END AS converted_to, - CASE WHEN ci.at_charindex = 0 + LEFT(CASE WHEN ci.at_charindex = 0 AND ci.convert_implicit_charindex = 0 AND ci.proc_name = 'Statement' THEN SUBSTRING(ci.expression, ci.equal_charindex, 4000) ELSE '**idk_man**' - END AS compile_time_value + END, 258) AS compile_time_value FROM #conversion_info AS ci OPTION (RECOMPILE);