时间:2021-07-01 10:21:17 帮助过:2人阅读
CREATE SEQUENCE circlefence_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
alter table circlefence alter column id set default nextval(‘circlefence_id_seq‘);
【postgresql】创建自增SEQUENCE
标签: