首页 > 开发 > 综合 > 正文

SQLServer清空日志

2024-07-21 02:48:53
字体:
来源:转载
供稿:网友
SQLServer清空日志

 

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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表