InterviewSolution
Saved Bookmarks
| 1. |
What is generally done if an error occurs during the transaction?(a) delete(b) rollback(c) commit(d) updateThis question was addressed to me in my homework.This intriguing question comes from Performing Transactions topic in division Using SQL to Manage Data of MySQL |
|
Answer» CORRECT answer is (b) ROLLBACK Easy explanation: WHENEVER an error occurs during a transaction, it is generally TAKEN to the state prior to the beginning of transaction EXECUTION. This is known as rollback. It is a set of undo operations. |
|