Skip to content

Commit 455f24b

Browse files
authored
Merge pull request #3880 from shekarkola/patch-1
Fix database ID reference in sp_BlitzCache
2 parents 59f2514 + 2c80cfb commit 455f24b

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
@@ -1688,7 +1688,7 @@ AND (
16881688
(
16891689
SELECT 1
16901690
FROM #ReadableDBs AS rdb
1691-
WHERE rdb.DatabaseID = CONVERT(INT, pa.value)
1691+
WHERE rdb.database_id = CONVERT(INT, pa.value)
16921692
)
16931693
)
16941694
OPTION (RECOMPILE);

0 commit comments

Comments
 (0)