PostgreSQL 시퀀스 만들기
문법CREATE SEQUENCE sequence_name [ INCREMENT BY increment ] [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ] [ START WITH start ] [ CACHE cache_size ] [ [ NO ] CYCLE ];샘플CREATE SEQUENCE my_sequence START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1;CREATE SEQUENCE limited_sequence START WITH 1000 INCREMENT BY 5 MINVALUE 100..
2024.12.01