Delete SQL Server 2005 records without logging

前端 未结 7 1121
北恋
北恋 2020-12-28 08:15

How to delete records from SQL Server 2005 tables without logging them into transaction logs.

I do not wish to log because once deleted, those records will never be

7条回答
  •  时光取名叫无心
    2020-12-28 08:40

    First of all, note that you cannot NOT have a transaction log.. what if you lose power in the server while doing a huge delete? This information is needed so SQL Server can perform atomic operations..

    What might be of interest to you though is "recovery model”. Please read this article on technet: http://technet.microsoft.com/en-us/library/ms189275.aspx

提交回复
热议问题