📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is the difference between COMMIT and SAVEPOINT?

A. SAVEPOINT ends the transaction
B. COMMIT ends the transaction permanently, while a savepoint is only a marker inside it ✅
C. They are identical
D. COMMIT can be undone but a savepoint cannot

Correct Answer: B. COMMIT ends the transaction permanently, while a savepoint is only a marker inside it

Explanation

  • COMMIT finalises the whole transaction; a savepoint only marks a point for partial rollback.
  • A savepoint does not make anything permanent.