Run this. It will give you the RECOVERY MODEL and last transaction log dump time for all of your databases.
SELECT
d.name [Database],
d.recovery_model_desc [RecoveryModel],
MAX(b.backup_finish_date) [LastTranLogBkup]
FROM
master.sys.databases d LEFT OUTER JOIN msdb..backupset b
ON b.database_name = d.name
AND b.type = 'L'
GROUP BY
d.name,
d.recovery_model_desc
ORDER BY
LastTranLogBkup DESC
No comments:
Post a Comment