标签:
--适用于SQL Server 2008的方法 USE [master] GO ALTER DATABASE RmyyHisDW SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE RmyyHisDW SET RECOVERY SIMPLE --简单模式 GO USE RmyyHisDW GO DBCC SHRINKFILE (N‘RmyyHisDW_Log‘ , 11, TRUNCATEONLY) GO USE [master] GO ALTER DATABASE RmyyHisDW SET RECOVERY FULL WITH NO_WAIT GO ALTER DATABASE RmyyHisDW SET RECOVERY FULL --还原为完全模式 GO
标签:
原文地址:http://www.cnblogs.com/xymBlog/p/4332225.html