Question: what is the difference between truncate and delete sql?
Answer: Difference between Delete and truncate in sql query. Delete and truncate both commands can be used to delete data of the table. Delete is a DML command whereas truncate is DDL command. Truncate can be used to delete the entire data of the table without maintaining the integrity of the table.