📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is the main risk of leaving a transaction open without COMMIT or ROLLBACK?

A. It holds locks and blocks other transactions ✅
B. It automatically commits safely
C. It speeds up other users
D. It uses no resources

Correct Answer: A. It holds locks and blocks other transactions

Explanation

  • An open transaction holds locks and may block others and grow the log.
  • Commit or roll back promptly.