USE [master]
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE --简单模式
GOUSE wf_db
GO
DBCC SHRINKFILE (N'wf_db_Log' , 11, TRUNCATEONLY)
GOUSE [master]
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE --简单模式--ALTER DATABASE DNName SET RECOVERY FULL WITH NO_WAIT
--GO
--ALTER DATABASE DNName SET RECOVERY FULL --还原为完全模式
--GO