云数据库 GAUSSDB-ALTER SEQUENCE:语法格式

时间:2024-11-13 14:45:05

语法格式

  • 修改序列最大值、归属列和缓存值。
    ALTER [ LARGE ] SEQUENCE [ IF EXISTS ] name 
        [MAXVALUE maxvalue | NO MAXVALUE | NOMAXVALUE | CACHE cache]
        [ OWNED BY { table_name.column_name | NONE } ] ;

  • 修改序列的拥有者。
    ALTER [ LARGE ] SEQUENCE [ IF EXISTS ] name OWNER TO new_owner;

support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-0504.html