DELETE
and TRUNCATE
commands are :DELETE
is a DML
command, whereas TRUNCATE
is a DDL
commandDELETE
removes records and records each deletion in the transaction log, whereas TRUNCATE
deallocates pages and records each deallocation in the transaction logTRUNCATE
is generally considered quicker as it makes less use of the transaction log