ALTER DATABASE ST1_FLD SET RECOVERY SIMPLE --将“恢复模式”设置为“简单”
GO
USE ST1_FLD
GO
DBCC SHRINKFILE (N'ST1_FLD_log' , 1, TRUNCATEONLY)--收缩日志文件大小到1M
GO
USE ST1_FLD
GO
ALTER DATABASE ST1_FLD SET RECOVERY FULL WITH NO_WAIT ----将“恢复模式”设置为“完整”
GO
ALTER DATABASE ST1_FLD SET RECOVERY FULL