TRUNCATE vs DELETE without where clause in SQL
TRUNCATE is a DDL (Data Definition Language) command, while DELETE is a DML (Data Manipulation Language) command. This means that TRUNCATE is used to alter the structure of the table, whereas DELETE only deletes the rows from the table.