USE [master] --运行master数据库 GO ALTER DATABASE HIS_MHYW SET RECOVERY SIMPLE WITH NO_WAIT --库 (dh_emr) GO ALTER DATABASE HIS_MHYW SET RECOVERY SIMPLE --简单模式 GO USE HIS_MHYW GO DBCC SHRINKFILE (N'clinic_Log' , 11, TRUNCATEONLY) --日志文件(portal_emr_log) USE [master] GO ALTER DATABASE HIS_MHYW SET RECOVERY FULL WITH NO_WAIT GO ALTER DATABASE HIS_MHYW SET RECOVERY FULL --还原为完全模式 GO