📜  减少 SQL 服务器日志文件截断的大小 - 来源:NAYCode.com - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:53.779000             🧑  作者: Mango

代码示例2
ALTER DATABASE DATBASE_NAME
SET RECOVERY SIMPLE
GO
DBCC SHRINKFILE (LOG_FILE_NAME_log, size in MB)
GO
ALTER DATABASE DATBASE_NAME
SET RECOVERY FULL