What’s the difference between DELETE and TRUNCATE

Following are difference between them:

  • DELETE TABLE syntax logs the deletes thus making the delete operations low. TRUNCATE table does not log any information but it logs information about deallocation of data page of the table. So TRUNCATE table is faster as compared to delete table.
  • DELETE table can have criteria while TRUNCATE can not.
  • TRUNCATE table can not have triggers.