Find Database Recovery model for SQL Server Databases on an instance
Below query will provide you the recovery model of databases on an instance:
SELECT
Name,
DATABASEPROPERTYEX(Name, 'RECOVERY') AS [Recovery Model]
FROM
master.dbo.sysdatabases
where
Name not in (
'master', 'tempdb', 'model', 'msdb'
)
Comments
Post a Comment