1.

What is difference between commit and rollback?

Answer»
COMMITROLLBACK
Syntax: COMMIT;Syntax: ROLLBACK;
USED to validate modifications made by current transactionsUsed to erase modifications made by current transactions
After executing this, a TRANSACTION can’t be used for ROLLBACKAfter executing this, a transaction can be modified and SENT for COMMIT
Occurs after SUCCESSFUL completion of a transactionOccurs if transaction is abrupted unexpectedly


Discussion

No Comment Found