Why do we use Commit and Rollback commands? - www.studyandupdates.com

Monday

Why do we use Commit and Rollback commands?

Q 28. Why do we use Commit and Rollback commands?

Ans :

COMMITROLLBACK
COMMIT permanently saves the changes made by the current transaction.ROLLBACK undo the changes made by the current transaction.
The transaction can not undo changes after COMMIT execution.Transaction reaches its previous state after ROLLBACK.
When the transaction is successful, COMMIT is applied.When the transaction is aborted, ROLLBACK occurs.








No comments:

Post a Comment

Popular Posts