Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0eef379

Browse files
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

Lines changed: 1 addition & 1 deletion
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: ', '') ASproc_name
31953195
FROM #variable_info AS vi
31963196
WHERE NOT EXISTS
31973197
(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /