Start Transaction OR Begin Work

Motasem picture Motasem · May 5, 2012 · Viewed 7.7k times · Source

I don't know what is better to use Start Transaction OR Begin Work, and what is the difference.

Answer

eggyal picture eggyal · May 5, 2012

From the MySQL manual:

BEGIN and BEGIN WORK are supported as aliases of START TRANSACTION for initiating a transaction. START TRANSACTION is standard SQL syntax and is the recommended way to start an ad-hoc transaction.