A

Admin • 833.24K Points
Coach

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

  • (A) INITIATE TRANSACTION
  • (B) *
  • (C) DISABLE AUTOCOMMIT
  • (D) TRANSACTION
  • Correct Answer - Option(B)
  • Views: 100
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question is about starting a transaction in MySQL. Transactions are a way to group multiple SQL statements together so they are treated as one unit. If all the statements in a transaction are successful, the changes are committed to the database. But if any statement fails, all the changes are rolled back.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.