标签:table ble 创建序列 enc 自增 ica detail val https
原文:https://blog.csdn.net/jinxiumeihappy/article/details/77978316
第一步创建序列:一般序列名称由数据表名+主键字段+seq组成 (通常情况下主键字段即为自增字段),如下表名为t_certificate,主键字段为 c_certificateid
创建序列语句如下:
CREATE SEQUENCE t_certificate_c_certificateid_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
第二步,设置表字段自增sql
alter table t_certificate alter column c_certificateid set default nextval(‘t_certificate_c_certificateid_seq‘);
标签:table ble 创建序列 enc 自增 ica detail val https
原文地址:https://www.cnblogs.com/goyier/p/8975662.html