SQL Server: Script to change the Recovery Model of a Database

In this post, I am sharing one basic ALTER command to change the recovery model of a SQL Server Database.

We can also change this recovery model using database properties of SQL Server Management Studio.

I always prefer to use T-SQL script to perform any kind of database administrator task because once I have tried to change the recovery model using database properties of SSMS, and my database had crashed because of any reason.

We can do using ALTER DATABASE option and most importantly, we should provide WITH NO_WAIT option.

Anvesh Patel

Leave a Reply

1 Comment on "SQL Server: Script to change the Recovery Model of a Database"

Notify of
avatar
Sort by:   newest | oldest | most voted
Frawn
Guest

I like this web blog its a master peace ! Glad I observed this on google .

wpDiscuz