This article is half-done without your Comment! *** Please share your thoughts via Comment ***
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.
-- FULL Recovery Model
ALTER DATABASE [Database_Name] SET RECOVERY FULL WITH NO_WAIT
-- SIMPLE Recovery Model
ALTER DATABASE [Database_Name] SET RECOVERY SIMPLE WITH NO_WAIT
-- Bulk Logged Recovery Model
ALTER DATABASE [Database_Name] SET RECOVERY BULK_LOGGED WITH NO_WAIT