Domanda di colloquio di NTT DATA

Difference between Truncate and delete

Risposta di colloquio

Anonimo

25 mar 2021

Truncate can be used to delete the entire data of the table without maintaining the integrity of the table. On the other hand , delete statement can be used for deleting the specific data. We can't rollback the changes in truncate. We can rollback the chances in delete.