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