autocommit « Transaction « SQL / MySQL






1.MySQL provides the @@autocommit system variable that allows you to view the current autocommit mode setting.
2.The following SET statement sets the autocommit mode to off:
3.Statements That Automatically Commit Transactions
4.Turn the autocommit mode back on