1 创建一个序列,这个是给userLoginlog表用的,所以起了个关联名
create sequence seq_on_userlogin increment by 1 start with 1 nomaxvalue nocycle nocache;
2 插入数据
insert into USER_LOGIN_LOG values(seq_on_userlogin.nextval, 'admin', '工厂', TO_DATE('2022-09-02', 'yyyy-MM-dd'));
3 查询所有序列
select * from user_sequences;
标签:LOG,seq,userlogin,序列,创建,oracle From: https://www.cnblogs.com/ElvisZhongShao/p/16648989.html