163k 清理日志

其他

19-1-11 10:30:44

USE [master]
GO
ALTER DATABASE menhusql SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE menhusql SET RECOVERY SIMPLE
GO
USE [menhusql]
GO
DBCC SHRINKFILE (N'163kmh_Log' , 11, TRUNCATEONLY) 
GO
USE [master]
GO
ALTER DATABASE menhusql SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE menhusql SET RECOVERY FULL
GO