云数据库 GAUSSDB-DBE_SESSION:示例

时间:2024-11-02 18:53:38

示例

1
2
3
4
5
6
BEGIN
    select DBE_SESSION.set_context('test', 'gaussdb', 'one');   --设置名为test的context下属性为gaussdb的值为one
    select DBE_SESSION.search_context('test', 'gaussdb');
    select DBE_SESSION.clear_context('test', 'test','gaussdb');
END;
/
support.huaweicloud.com/distributed-devg-v2-gaussdb/gaussdb-12-0558.html