Steve Bergkamp
Old Hand
Points: 335
More actions
September 27, 2007 at 2:41 pm
#181674
Comments posted to this topic are about the item List recovery model of databases.
Jeff Chang-468251
SSC Enthusiast
Points: 103
January 17, 2008 at 11:11 am
#769349
Or:
select [name], DATABASEPROPERTYEX([name],'recovery')
from sysdatabases
where name not in ('master','model','tempdb','msdb')
Lynn Pettis
SSC Guru
Points: 442467
January 17, 2008 at 11:25 am
#769355
Much cleaner and avoids loops and unnecessary temporary tables.
RPSQL
Hall of Fame
Points: 3229
April 29, 2008 at 10:46 am
#808543
Here is another one..
select name,recovery_model_desc as Recovery_mode from sys.databases order by name
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply