- Open SQL Management Studio
- Right click Database
- Select “New Query”
- Type below SQL script
ALTER DATABASE DBName SET RECOVERY SIMPLE
GO
DBCC SHRINKFILE (XXXX_log, 5)
GO
ALTER DBName dw SET RECOVERY FULL
GO
4. Run “Execute”
ALTER DATABASE DBName SET RECOVERY SIMPLE
GO
DBCC SHRINKFILE (XXXX_log, 5)
GO
ALTER DBName dw SET RECOVERY FULL
GO
4. Run “Execute”