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

时间:2024-11-02 18:45:44

语法格式

格式一:START TRANSACTION格式

START TRANSACTION
  [ 
    { 
       ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE | REPEATABLE READ }
       | { READ WRITE | READ ONLY }
     } [ ...] 
  ];

格式二:BEGIN格式

BEGIN [ WORK | TRANSACTION ]
  [ 
    { 
       ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE | REPEATABLE READ }
       | { READ WRITE | READ ONLY }
      } [ ...] 
  ];
support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-0716.html