Transaction and Lock¶
Begin Transaction¶
Note
Will commit any existing open transaction
Commit Transaction¶
Rollback Transaction¶
Lock Tables¶
Note
This command must be executed after BEGIN
transaction for performance or prevent other sessions to , and locks will be released after commit transaction.
Set Isolation Level¶
-- TBD
SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | REPEATABLE READ | READ UNCOMMITTED | SERIALIZABLE }
Note
TBD, default is READ COMMITTED
.
Set Auto Commit¶
Note
Default AUTOCOMMIT
= 1.