| ROLLBACK | COMMIT |
|---|---|
| ROLLBACK command is used to undo the changes made by the DML commands. | The COMMIT command is used to save the modifications done to the database values by the DML commands. |
| It rollbacks all the changes of the current transaction. | It will make all the changes permanent that cannot be rolled back. |
| Syntax: DELETE FROM table_name ROLLBACK | Syntax: COMMIT; |