TSQL Change Database Recovery Model

How to view or change the database recovery model outlined here …

http://msdn.microsoft.com/en-us/library/ms189272.aspx#TsqlProcedure

To change the recovery model to simple :


ALTER DATABASE model SET RECOVERY SIMPLE ;

To change the recovery model to full :


ALTER DATABASE model SET RECOVERY FULL ;

About AussieBICG

Connect with me here https://au.linkedin.com/in/aussiebicg

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s