What is the difference between DELETE and TRUNCATE commands?
Ask by Rahul Roi
Updated 16 Sep 2020
Mostly DELETE command is used to remove rows from the table, and WHERE clause can be used for conditional set of parameters. Here Commit and Rollback operation can be performed or used after delete statement.
Into the TRUNCATE command removes all rows from table. And the Truncate operation cannot be rolled back. In other word, Commit and Rollback operation can't be performed in TRUNCATE operation.