SQL日志相关

select  size*8/1024 from sys.database_files 查询日志大小

数据库恢复模式为SIMPLE时,

use db
dbcc shrinkfile (db_LOG,10) 压缩数据库

原文地址:https://www.cnblogs.com/johnwonder/p/1657405.html