USE[master]
GO
ALTER DATABASE CCPG_SFY SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE CCPG_SFY SET RECOVERY SIMPLE --简单模式
GO
USE CCPG_SFY
GO
-- SELECT * FROM SYS.database_files 查看数据库逻辑名称
DBCC SHRINKFILE (N'CCPG_PM_Standard_log' , 11, TRUNCATEONLY)
GO
USE[master]
GO
ALTER DATABASE CCPG_SFY SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE CCPG_SFY SET RECOVERY FULL --还原为完全模式
GO