General information
Forum:
Microsoft SQL Server
This is the T-SQL to change the recovery model:
alter database northwind set recovery Simple
It would also probably be worth changing the recovery model of your Model database as this is the default setup for any new database, not necessary but worth a thought.
Glad you've sorted your problem.
>Hello Jon, thanks for the reply.
>
>>Do you need to have the database in a recovery model that you can bring back online without losing any changes?
>
>No, I don't.
>
>>My guess from your description is that because you are doing a backup everyday that you could, if absolutelly necessary, lose a days work and go back to the previous days backup.
>
>Correct.
>
>>If so switch the database to Simple Recovery model, right click the database in Enterprise manager, hit properties and then options, change the recovery model to Simple...
>
>As I am using MSDE, I do not have the EM, but I have a third-party tool which is pretty close to it. I'll investigate if I can change modes without having to resort to Alter table...
>
>>you may also want to shrink the physical size of the file
>
>I have just done it, and the log file has shrunk to just over 1Mb! Now if I can only get it to stay that way.
>
>Regards,
>Alan
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only