Does anyone have t-sql to change the recovery mode of a database to simple?
We are changing our backup strategy so now I need to bulk change many databases from Full recovery mode and would prefer not to do this one at a time in SSMS.
ALTER DATABASE [DatabaseName] SET RECOVERY SIMPLE WITH NO_WAIT
use [database_name]
alter database [database_name]
set recovery simple
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With