- Here’s a simple query to find the last backup dates:
-
SELECT backup_start_date, database_name
FROM msdb.dbo.backupset AS b1
WHERE backup_start_date =
(
SELECT MAX(backup_start_date)
FROM msdb.dbo.backupset AS b2
WHERE b1.database_name = b2.database_name
AND type = 'D'
)
-
Recent Posts
Personal Links
SQL Server Links
Windows OS
Meta