标签:database with run truncate ase over tab use 定义
--减小数据库Log文件大小 1MB 为自定义大小
USE [master]
GO
ALTER DATABASE DataBaeName SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE DataBaeName SET RECOVERY SIMPLE
GO
USE DataBaeName
GO
DBCC SHRINKFILE (N‘DataBaeName_log‘ , 1, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE DataBaeName SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE DataBaeName SET RECOVERY FULL
GO
标签:database with run truncate ase over tab use 定义
原文地址:https://www.cnblogs.com/kikyoqiang/p/10113182.html