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

时间:2024-11-02 18:48:31

语法格式

设置事务的隔离级别、读写模式。
1
2
3
{ SET [ LOCAL ] TRANSACTION|SET SESSION CHARACTERIS TICS  AS TRANSACTION }
  { ISOLATION LEVEL { READ COMMITTED | READ UNCOMMITTED | SERIALIZABLE | REPEATABLE READ }
  | { READ WRITE | READ ONLY } } [, ...]
support.huaweicloud.com/distributed-devg-v2-gaussdb/gaussdb_v5r2c10_0608.html