The log file for database is full

后端 未结 12 839
时光取名叫无心
时光取名叫无心 2021-02-08 17:15

So our SQL Server 2000 is giving me the error, \"The log file for database is full. Back up the transaction log for the database to free up some log space.\"

How do I go

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-08 17:54

    To just empty it:

    backup log  with truncate_only  
    

    To save it somewhere:

    backup log  to disk='c:\somefile.bak'
    

    If you dont really need transactional history, try setting the database recovery mode to simple.

提交回复
热议问题