-- Dynamic SQL to set all databases to Simple recovery mode -- set all to simple -- use this sql to generate to sql to perform this task. use master SELECT 'ALTER DATABASE [' + name + '] SET RECOVERY SIMPLE' from master..sysdatabases where name not in ('master','model','msdb','tempdb')
1 comment:
thanx. that is really usefull for a testing environment
Post a Comment