Answer:
1. DELETE TABLE syntax logs the deletes thus making the delete operation slow.TRUNCATE table does not log any information but it logs information about deallocation of data page of the table.
2.DELETE table can be rolled back while TRUNCATE can not be.
3.DELETE table can have criteria while TRUNCATE can not.
Asked In: Many Interviews |
Alert Moderator