DELETE | TRUNCATE |
It is a DML command. | It is a DDL command. |
It can specify WHERE clause. | It cannot specify WHERE clause. |
It deletes specified data if where the condition exists. | It removes all the data. |
Rollback is possible. | Rollback is not possible. |
It is slow. | It is fast. |
It keeps logs. | It does not keep any logs. |
It is executed using a row lock, each row in the table is locked for deletion. | It always locks the table and page, but not each row. |
It activates a trigger. | It cannot activate a trigger. |