To continue reading for free, register below or login
To read more you must become a member of SearchSQLServer.com
');
// -->

Run this command:
EXEC sp_MSforeachdb @command1="print 'ALTER DATABASE ' + ('?') + ' SET RECOVERY SIMPLE'"
Then you can copy the output from this query and paste into another query window to actually change the settings. You can also remove the system databases when you select from the output, so you don't change these databases.
Do you have comments on this Ask the Expert Q&A? Let us know.
|