As both ROLLBACK and COMMIT Commands are TCC (Transaction Control Commands), but are not similar to eachother. Here is the difference:
ROLLBACK Command
ROLLBACK restore the state of the database to the last commit point.
COMMIT Command
It will make our changes permanent that cannot be rolled back.
No comments:
Post a Comment