25十月/10關閉
手動執行壓縮資料庫記錄檔的SQL語法
ALTER DATABASE REPORT SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (REPORT_Log, 1);
GO
ALTER DATABASE REPORT SET RECOVERY FULL;
GO
ALTER DATABASE REPORT SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (REPORT_Log, 1);
GO
ALTER DATABASE REPORT SET RECOVERY FULL;
GO