清除日志

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

posted on 2018-04-27 21:46  wwwlzp  阅读(121)  评论(0编辑  收藏  举报

导航