File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3771,12 +3771,12 @@ FROM ##BlitzCacheProcs p
37713771 WHERE b .OptionStart > 0
37723772 ) c
37733773 OUTER APPLY (
3774- SELECT PATINDEX (' %[^0-9]%' , c .OptionSubstring ) AS ObjectLength
3774+ SELECT PATINDEX (' %[^0-9]%' , c .OptionSubstring ) AS ObjectLength
37753775 ) d
37763776 OUTER APPLY (
37773777 SELECT TRY_CAST (SUBSTRING (OptionSubstring, 1 , d .ObjectLength - 1 ) AS INT ) AS ObjectId
37783778 ) e
3779- JOIN sys .dm_exec_procedure_stats s ON DB_ID (p .DatabaseName ) = s .database_id AND e .ObjectId = s .object_id
3779+ JOIN sys .dm_exec_procedure_stats s ON DB_ID (p .DatabaseName ) = s .database_id AND e .ObjectId = s .object_id
37803780WHERE p .QueryType = ' Statement'
37813781AND p .SPID = @@SPID
37823782AND s .object_id IS NOT NULL
You can’t perform that action at this time.
0 commit comments