adplus-dvertising
frame-decoration

Question

What is generally done if an error occurs during the transaction?

a.

delete

b.

rollback

c.

commit

d.

update

Posted under MySQL Database

Answer: (b).rollback

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is generally done if an error occurs during the transaction?

Similar Questions

Discover Related MCQs

Q. What does ā€˜Aā€™ stand for in the ACID property of transactions?

Q. What does ā€˜Cā€™ stand for in the ACID property of transactions?

Q. What is the command to disable autocommit and launch a transaction?

Q. Transactional processing provides strong guarantees about the outcome of operations.

Q. Transactional processing requires lesser overhead due to CPU cycles and memory.

Q. What is the durability property of transactions?

Q. How many storage engines among the following are transaction-safe?

InnoDB, Falcon, MyISAM, MEMORY

Q. Which key declares that an index in one table is related to that in another?

Q. Foreign keys cannot handle deletes and updates.

Q. Deletion of an employee from table also deletes that employee from another table. This kind of delete is called ____________

Q. Which storage engine in MySQL provides foreign key support?

Q. The property of InnoDB that enforces foreign key relationships stay intact is called _____________

Q. Which clause names the parent table and the index columns in the table?

Q. If the storage engine InnoDB is not used, foreign key cannot be used.

Q. Which clause is used to remove a foreign key constraint?

Q. Which keyword is used to specify the foreign key after the table is created?

Q. Which clause in the SQL standard controls how NULL values in a composite foreign key are handled when comparing to a primary key.

Q. In which mode of search is the search string parsed into words and the search looks for rows?

Q. The indicator of presence or absence of a word in search is used in which mode?

Q. Which search mode uses natural language search as a subroutine?