云数据库 GAUSSDB-START TRANSACTION:语法格式

时间:2024-01-23 20:08:41

语法格式

格式一:START TRANSACTION格式

1
2
3
4
5
6
7
START TRANSACTION
  [ 
    { 
       ISOLATION LEVEL { READ COMMITTED | READ UNCOMMITTED | SERIALIZABLE | REPEATABLE READ }
       | { READ WRITE | READ ONLY }
     } [, ...] 
  ];

格式二:BEGIN格式

1
2
3
4
5
6
7
BEGIN [ WORK | TRANSACTION ]
  [ 
    { 
       ISOLATION LEVEL { READ COMMITTED | READ UNCOMMITTED | SERIALIZABLE | REPEATABLE READ }
       | { READ WRITE | READ ONLY }
      } [, ...] 
  ];
support.huaweicloud.com/devg-v1-gaussdb/gaussdb_devg_0641.html