云数据库 GAUSSDB-DBE_SESSION:示例

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

示例

1
2
3
4
5
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/centralized-devg-v2-gaussdb/devg_03_0738.html