标签:select alter over truncate arp log 模式 pre 文件
USE [master] GO ALTER DATABASE TestDB SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE TestDB SET RECOVERY SIMPLE --简单模式 GO --select * from sys.database_files USE [TestDB] GO DBCC SHRINKFILE (N‘TestDB_log‘ , 1, TRUNCATEONLY) GO USE [master] GO ALTER DATABASE TestDB SET RECOVERY FULL WITH NO_WAIT GO ALTER DATABASE TestDB SET RECOVERY FULL --还原为完全模式 GO
标签:select alter over truncate arp log 模式 pre 文件
原文地址:https://www.cnblogs.com/lgx5/p/11619382.html