USE[master]
GO
ALTER DATABASE MeSizeSNS SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE MeSizeSNS SET RECOVERY SIMPLE --简单模式
GO
USE MeSizeSNS
GO
DBCC SHRINKFILE (N‘BangsoWeb_log‘ , 11, TRUNCATEONLY)
GO
USE[master]
GO
ALTER DATABASE MeSizeSNS SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE MeSizeSNS SET RECOVERY FULL --还原为完全模式
GO
时间: 2024-10-10 17:46:44