Transaction sequence: A bank account starts with balance 1500. A SAVEPOINT is…

2025

Transaction sequence: A bank account starts with balance 1500.

  • A SAVEPOINT is set.

  • 100 is added to the account.

  • ROLLBACK TO SAVEPOINT is performed.

  • COMMIT is issued.

What is the final account balance?

  1. A.

    Account increases

  2. B.

    Account decreases

  3. C.

    Account remains same (1500)

  4. D.

    Account becomes 0

  5. E.

    None of the above

Attempted by 56 students.

Show answer & explanation

Correct answer: C

Correct answer: The account remains the same: 1500.

  • The savepoint is created before adding 100, so the later rollback returns the transaction to the saved point.

  • After rollback, the addition is undone. The final COMMIT only makes the rolled-back state permanent, so the balance stays 1500.

Explore the full course: Niacl Ao It Specialist