//创建自增序列
create sequence SEQ
increment by 1
start with 0
nomaxvalue
minvalue 0
nocycle;
//在sql中使用该序列
INSERT INTO USERS VALUES (SEQ.nextval,‘Username‘,‘Password‘,‘Sex‘,‘Xl‘);
2022-07-17 18:08:32
//创建自增序列
create sequence SEQ
increment by 1
start with 0
nomaxvalue
minvalue 0
nocycle;
//在sql中使用该序列
INSERT INTO USERS VALUES (SEQ.nextval,‘Username‘,‘Password‘,‘Sex‘,‘Xl‘);
下一篇:EF Core左连接内连接