USE [master]
GOALTER DATABASE AutoBike SET RECOVERY SIMPLE WITH NO_WAITGOALTER DATABASE AutoBike SET RECOVERY SIMPLE --简单模式GOUSE AutoBikeGODBCC SHRINKFILE (N'qinhejing_Log' , 11, TRUNCATEONLY) GO--USE AutoBike--SELECT file_id, name FROM sys.database_files--GOUSE [master]GOALTER DATABASE AutoBike SET RECOVERY FULL WITH NO_WAITGOALTER DATABASE AutoBike SET RECOVERY FULL --还原为完全模式GO