Solved

Syntax for Setting 'Recovery_Option'

Posted on 2002-07-16
3
1,290 Views
Last Modified: 2012-06-21
I am having trouble with the syntax to set the 'Recovery_Option' on a database. It is
currently set at 'simple' and I need to
change it to 'full'.

I am looking at the help file, but I am very
poor at understanding the correct syntax from
it. Here is what I have. (It doesn't work.)

alter database SqlTest  SET 'recovery_option' = recovery full

What should it be?

Thanks
0
Comment
Question by:bjames
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
bhess1 earned 100 total points
ID: 7157801
Your Alter statement is incorrect.  Try:

ALTER DATABASE SqlTest SET RECOVERY FULL
0
 
LVL 32

Expert Comment

by:bhess1
ID: 7157802
BTW, Here is a good link to an article about the recovery options:

http://www.sqlmag.com/Articles/Index.cfm?ArticleID=8551
0
 

Author Comment

by:bjames
ID: 7157837
Thanks. I hate revealing my ignorance and stupidity, but its better than getting something wrong.

Thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question