what is difference between truncate and delete-


What is difference between TRUNCATE and DELETE?

- Truncate can't be rolled back whereas Delete can be.

- Truncate keeps the lock on table whereas Delete keeps the lock on each row.

- Truncate resets the counter of the Identity column whereas Delete doesn't do so.

- Trigger is not fired in Truncate whereas it happens in Delete.

 

Request for Solution File

Ask an Expert for Answer!!
Database Management System: what is difference between truncate and delete-
Reference No:- TGS0354982

Expected delivery within 24 Hours