Skip to content

Commit 0eef379

Browse files
authored
Merge pull request BrentOzarULTD#1328 from BrentOzarULTD/Issue_1327
Fixes BrentOzarULTD#1327
2 parents ea67c86 + ce9742a commit 0eef379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_BlitzCache.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,7 @@ OPTION ( RECOMPILE );
31913191
RAISERROR(N'Inserting variables for other procs', 0, 1) WITH NOWAIT;
31923192
INSERT #stored_proc_info
31933193
( SPID, SqlHandle, QueryHash, variable_name, variable_datatype, compile_time_value, proc_name )
3194-
SELECT vi.SPID, vi.SqlHandle, vi.QueryHash, vi.variable_name, vi.variable_datatype, vi.compile_time_value, vi.proc_name
3194+
SELECT vi.SPID, vi.SqlHandle, vi.QueryHash, vi.variable_name, vi.variable_datatype, vi.compile_time_value, REPLACE(REPLACE(REPLACE(vi.proc_name, ')', ''), 'Statement (parent ', ''), 'Procedure or Function: ', '') AS proc_name
31953195
FROM #variable_info AS vi
31963196
WHERE NOT EXISTS
31973197
(

0 commit comments

Comments
 (0)