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

时间:2024-11-01 17:13:50

语法格式

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