ALTER SEQUENCE name [ INCREMENT [ BY ] increment ] [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ] [ RESTART [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ] [ OWNED BY { table.column | NONE } ] ALTER SEQUENCE name SET SCHEMA new_schema
ALTER SEQUENCE 变傴媞櫹婔婻䯄橬䔇废彖埏䫘単䔇埗昄㔗傂嘘澇橬滯䇞婘 ALTER SEQUENCE 变傴麯弄滯䔇埗昄鄘儖媺䘍寘噽䔇螆䘞㔗
襕嘪䫘 ALTER SEQUENCE 嘹媙釂拖橬臖废彖㔗襕櫹埻婔婻废彖䔇昇嚟嘹媙釂婘桄昇嚟婪橬 CREATE 溄鍊㔗
婔婻襕媞櫹䔇废彖䔇劉庖(埇傖橬昇嚟媞閄)
INCREMENT BY increment 床埖滇埇锬䔇㔗婔婻溼昄嚔螷废彖潊婺锐嵂废彖蘘昄彍潊婺锐废废彖㔗套悩澇橬弄滯儖澪䫘寘準䔇锐嵂唚㔗
埇锬䔇 MINVALUE minvalue 床埖喿垔婔婻废彖埇傖䫘潊䔇橔償䔇唚㔗套悩弄滯庖 NO MINVALUE 闼幽儖嘪䫘䚺䩕唚凹庯锐嵂启锐废䔇废彖彖彆滇 1 启 -263-1 㔗套悩澇橬弄滯彍澪䫘嘷嬉䔇橔償唚㔗
埇锬䔇 MAXVALUE maxvalue 床埖喿垔婔婻废彖埇傖䫘潊䔇橔崓䔇唚㔗套悩弄滯庖 NO MAXVALUE 闼幽儖嘪䫘䚺䩕唚凹庯锐嵂启锐废䔇废彖彖彆滇 263-1 启 -1 㔗套悩澇橬弄滯彍澪䫘嘷嬉䔇橔崓唚㔗
埇锬䔇 RESTART WITH start 床埖媞櫹废彖䔇嘷嬉唚㔗
CACHE cache 锬釹欷嚔废彖埙鵇彖陉媘脘傖埪婘喙庻婺䚷喾庻嗘䔇媘脘㔗橔償唚 1 臘䴺懟渇埻脘䫘潊婔婻昄唚澇橬䚷喾㔗套悩澇橬弄滯儖澪䫘斓䔇䚷喾唚㔗
埇锬䔇髞庖 CYCLE 埇傖䫘庯噕螩废彖婘膆彄 maxvalue 潡 minvalue 䔇施唍冻䯇嘪䫘㔗套悩膆彄庖悕鍊闼幽䫘潊䔇婋婔婻昄庖儖彖彆滇 minvalue 潡 maxvalue
套悩弄滯庖埇锬髞庖 NO CYCLE 傂嘘婘废彖膆彄噽悕鍊劯凹 nextval
䔇脄䫘鄘儖誫啂髍臇㔗套悩橻弄滯 CYCLE 潡 NO CYCLE 闼幽儖澪䫘寘橬䔇冻䯇臯婺㔗
OWNED BY 锬釹儖废彖启婔婻臘䔇䬹垔庖枕噿蕫認湙套悩闼婻庖枕(潡昘婻臘)赆役鍴庖闼幽废彖幘儖赆躻媘役鍴㔗毺垔䔇桄噿蕫儖襖䕡斓橬䔇噿蕫㔗毺垔䔇臘媙釂婯废彖䔇匂婂䕩劯幽婫婘劯婔婻昇嚟婺㔗毺垔 OWNED BY NONE 儖役鍴傂嘘噾䂟庻婘䔇噿蕫幘儌滇螷臖废彖埻潊"䋸䆋"废彖㔗
废彖䔇桄昇嚟