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

时间:2024-11-13 14:46:11

语法格式

设置事务的隔离级别、读写模式。
1
2
3
4
{ SET [ LOCAL | SESSION ] 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-v8-gaussdb/gaussdb-12-0688.html