清空日志
-- Truncate the log by changing the database recovery model to SIMPLE.
ALTER DATABASE CCM_001 SET RECOVERY SIMPLE;
GO
-- Shrink the truncated log file to 1 MB.
DBCC SHRINKFILE ('CCM_001_log', 1);
-- Reset the database recovery model.
ALTER DATABASE CCM_001 SET RECOVERY FULL;

相关文章:

  • 2021-08-19
  • 2021-08-15
  • 2021-06-01
  • 2022-12-23
  • 2021-06-18
猜你喜欢
  • 2021-08-24
  • 2021-12-04
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案