Friday, October 3, 2008

What is difference between TRUNCATE & DELETE ? in SQL

What is difference between TRUNCATE & DELETE ?

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

No comments:

Post a Comment

Thanks to given comments.......

My Blog List