SQL2008清理日志文件:

查询分析器执行:

backup log TestDataBase to disk='F:\hooyesRoot\TestDataBase_log20090518.bak'
dbcc shrinkfile('TestDataBase ',200with no_infomsgs

执行以上语句,将数据 Testdatabase 日志备份到 F 盘

并收缩日志文件为 200 M

 

更多详情:

http://support.microsoft.com/default.aspx/kb/907511/zh-cn?spid=2855&sid=1064

 

by

http://www.hooyes.com

 

 

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2021-06-23
  • 2021-10-22
  • 2021-07-10
  • 2022-12-23
猜你喜欢
  • 2021-10-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案