USE [master]
GO
ALTER DATABASE OUT_IJ SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE OUT_IJ SET RECOVERY SIMPLE --简单模式
GO
USE OUT_IJ
GO
DBCC SHRINKFILE (N'OUT_IJ_Log' , 11, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE OUT_IJ SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE OUT_IJ SET RECOVERY SIMPLE --简单模式
GO
USE OUT_IJ
GO
DBCC SHRINKFILE (N'OUT_IJ_Log' , 11, TRUNCATEONLY)
GO
转载于:https://www.cnblogs.com/wyBlog117/p/6322889.html