Loading

postgreSQL 创建自增序列

CREATE SEQUENCE t_active_security_punishment_report_id_seq
	START WITH 1
	INCREMENT by 1
	NO MINVALUE
	NO MAXVALUE
	CACHE 1;

nextval('t_active_security_punishment_report_id_seq'::regclass)

 

posted @ 2021-08-27 09:48  Robinzhao  阅读(97)  评论(0)    收藏  举报