DEVFYI - Developer Resource - FYI

What is difference between TRUNCATE & DELETE

PL/SQL Interview Questions and Answers


(Continued from previous question...)

What is difference between TRUNCATE & DELETE

TRUNCATE commits after deleting entire table i.e., cannot be rolled back. Database triggers do not fire on TRUNCATE
DELETE allows the filtered deletion. Deleted records can be rolled back or committed. Database triggers fire on DELETE.

(Continued on next question...)

Other Interview Questions