Delete SQL Server 2005 records without logging

前端 未结 7 1058
北恋
北恋 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:57

    If you are deleting an entire table you could use TRUNCATE TABLE, which only logs the page deallocations rather than having an entry for each row deleted. I'm not aware of any way to do deletions without any transaction logging at all.

    0 讨论(0)
提交回复
热议问题