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
It's easy:
DECLARE @BatchSize INT SET @BatchSize = 100000 WHILE @BatchSize <> 0 BEGIN DELETE TOP (@BatchSize) FROM [dbo].[UnknownTable] SET @BatchSize = @@rowcount END