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

时间:2024-11-02 18:49:43

语法格式

1
2
3
4
CREATE SEQUENCE [ IF NOT EXISTS ] name [ INCREMENT [ BY ] increment ]
    [ MINVALUE minvalue | NO MINVALUE | NOMINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE | NOMAXVALUE] 
    [ START [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE | NOCYCLE ] 
    [ OWNED BY { table_name.column_name | NONE } ];

support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-12-0565.html