1.

What is generally done after the transactions are executed successfully?(a) delete(b) rollback(c) commit(d) updateThis question was posed to me in an international level competition.This interesting question is from Performing Transactions in chapter Using SQL to Manage Data of MySQL

Answer»

Correct option is (c) commit

To explain I WOULD say: In a TRANSACTION, EITHER all the STATEMENTS are executed SUCCESSFULLY or neither of them are successful. This is facilitated by the commit and rollback capabilities. Commit is made after a transaction.



Discussion

No Comment Found

Related InterviewSolutions