You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sp_Blitz.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1265,7 +1265,7 @@ AS
1265
1265
db_name(dek.database_id) AS DatabaseName,
1266
1266
''https://www.brentozar.com/go/tde'' AS URL,
1267
1267
''The certificate '' + c.name + '' is used to encrypt database '' + db_name(dek.database_id) + ''. Last backup date: '' + COALESCE(CAST(c.pvt_key_last_backup_date AS VARCHAR(100)), ''Never'') AS Details
1268
-
FROM sys.certificates c INNER JOIN sys.dm_database_encryption_keys dek ON c.thumbprint = dek.encryptor_thumbprint
1268
+
FROM master.sys.certificates c INNER JOIN sys.dm_database_encryption_keys dek ON c.thumbprint = dek.encryptor_thumbprint
1269
1269
WHERE pvt_key_last_backup_date IS NULL OR pvt_key_last_backup_date <= DATEADD(dd, -30, GETDATE()) OPTION (RECOMPILE);';
1270
1270
1271
1271
IF @Debug =2AND @StringToExecute ISNOTNULLPRINT @StringToExecute;
@@ -3881,7 +3881,7 @@ AS
3881
3881
(@ProductVersionMajor =14AND @ProductVersionMinor <1000) OR
3882
3882
(@ProductVersionMajor =13AND @ProductVersionMinor <6300) OR
3883
3883
(@ProductVersionMajor =12AND @ProductVersionMinor <6024) OR
0 commit comments