数据仓库服务 GAUSSDB(DWS)-CREATE SEQUENCE:语法格式

时间:2024-12-06 15:12:41

语法格式

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/sqlreference-910-dws/dws_06_0174.html