Click here to Skip to main content
15,891,704 members
Articles / Programming Languages / SQL

Generate SQL Script to Set Simple Recovery Model and Shrink Databases

Rate me:
Please Sign up or sign in to vote.
4.60/5 (3 votes)
1 Jan 2016CPOL 12.1K   3  
When you create a new SQL Server database, the default recovery model is Full. This model takes up a lot of disk space. It is ordinarily not necessary for developer images. This tip has a SQL script that helps you change this.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead IdentityStream
Norway Norway
My name is Tore Olav Kristiansen and I am a developer. I am passionate about making coherent people-friendly solutions.

I have worked as a software engineer for 18 years. I am the founder of IdentityStream.

I have a masters in computer science from the University of Stavanger, Norway.

Comments and Discussions