USE [master]
GO
ALTER DATABASE KuKu80 SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE KuKu80 SET RECOVERY SIMPLE --简单模式
GO
USE KuKu80
GO
DBCC SHRINKFILE (N'KuKu80_Log' , 11, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE KuKu80 SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE KuKu80 SET RECOVERY FULL --还原为完全模式
GO
SQL 2008 清除日志的方法
80酷酷网 80kuku.com