Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
qman
Constraint Violating Yak Guru
442 Posts |
Posted - 2010-09-22 : 10:46:31
|
How can I set database recovery option to full using a SQL command? I have a need to switch between simple and full via a job using SQL.ThanksQman |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2010-09-22 : 11:09:32
|
ALTER DATABASE myDB SET RECOVERY FULLALTER DATABASE myDB SET RECOVERY SIMPLE |
|
|
qman
Constraint Violating Yak Guru
442 Posts |
Posted - 2010-09-22 : 11:10:40
|
Thanks! |
|
|
|
|
|