Skip to content

Commit b7c8bb7

Browse files
authored
Merge pull request #2366 from BrentOzarULTD/2353_sp_BlitzCache_ManagedInstance
#2353 sp_BlitzCache Managed Instances
2 parents f0a80cd + 255cd5d commit b7c8bb7

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
@@ -1061,7 +1061,7 @@ IF @DurationFilter IS NOT NULL
10611061
RAISERROR(N'Checking database validity', 0, 1) WITH NOWAIT;
10621062
SET @DatabaseName = LTRIM(RTRIM(@DatabaseName)) ;
10631063

1064-
IF SERVERPROPERTY('EngineEdition') IN (5, 6, 8) AND DB_NAME() <> @DatabaseName
1064+
IF SERVERPROPERTY('EngineEdition') IN (5, 6) AND DB_NAME() <> @DatabaseName
10651065
BEGIN
10661066
RAISERROR('You specified a database name other than the current database, but Azure SQL DB does not allow you to change databases. Execute sp_BlitzCache from the database you want to analyze.', 16, 1);
10671067
RETURN;

0 commit comments

Comments
 (0)