USE [master] GO ALTER DATABASE [DATABASE] SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE [DATABASE] SET RECOVERY SIMPLE --简单模式 GO USE [DATABASE] GO DBCC SHRINKFILE (N‘DATABASE_Log‘ , 11, TRUNCATEONLY) GO USE [master] GO ALTER DATABASE [DATABASE] SET RECOVERY FULL WITH NO_WAIT GO ALTER DATABASE [DATABASE] SET RECOVERY FULL --还原为完全模式 GO
时间: 2024-10-08 09:47:49