What is the difference between Truncate and Delete?


Author Profile

author

sandeep

@sandeep

Answers

Difference between Delete & truncate command:

  1. DELETE is DML command while Truncate is DDL.
  2. DELETE is slower than Truncate
  3. DELETE TABLE is a logged operation, so the deletion of each row gets logged in the transaction log
  4. Truncate reset identity column number where delete can not


Solution #1

Leave a Comment

message*