USE [master]
GO
ALTER DATABASE HCPM_01_181230 SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE HCPM_01_181230 SET RECOVERY SIMPLE --简单模式
GO
USE HCPM_01_181230
GO
DBCC SHRINKFILE (N'DNF_01_Log' , 11, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE HCPM_01_181230 SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE HCPM_01_181230 SET RECOVERY FULL --还原为完全模式
GO