执行如下SQL:
USE [master]
GO
ALTER DATABASE [DATA-BASE-NAME] SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE [DATA-BASE-NAME] SET RECOVERY SIMPLE --简单模式
GO
USE [DATA-BASE-NAME]
GO
DBCC SHRINKFILE (N'DATA-BASE-Log-NAME' , 11, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE [DATA-BASE-NAME] SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE [DATA-BASE-NAME] SET RECOVERY FULL --还原为完全模式
GO