Skip to content

Commit 2c80cfb

Browse files
authored
Fix database ID reference in sp_BlitzCache
Fixed the syntax error (Invalid column)
1 parent 59f2514 commit 2c80cfb

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)