压缩MSSQL数据库日志文件大小

2014-11-24 01:21:41 · 作者: · 浏览: 6

在SQL中,如果日志文件太大,我们可以对日志文件进压缩

dump transaction 数据库名 with no_log go

dbcc shrinkdatabase(数据库名)