数据仓库服务 GAUSSDB(DWS)-START TRANSACTION:语法格式

时间:2024-10-16 16:27:27

语法格式

格式一: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/sqlreference-dws/dws_06_0265.html