摘要: --收缩日志USE DBNAME;GO-- Truncate the log by changing the database recovery model to SIMPLE.ALTER DATABASE DBNAMESET RECOVERY SIMPLE;GO-- Shrink the truncated log file to 1 MB.DBCC SHRINKFILE (DBNAME_Log, 1);GO-- Reset the database recovery model.ALTER DATABASE DBNAMESET RECOVERY FULL;GO 阅读全文
posted @ 2014-04-09 13:38 山村果园 阅读(114) 评论(0) 推荐(0) 编辑