[Oracle] Sequence
程序员文章站
2022-06-02 16:57:20
...
Create Sequence seq_name
Start With 1
Increment By 1
Maxvalue 100
Minvalue 1
Cache 2
Cycle
Select seq_name.Nextval From dual
Select seq_name.Currval From dual
Alter Sequence seq_name
Increment By 2
Maxvalue 99
Minvalue 1
Nocache
Nocycle
Select * From user_sequences
Select * From seq --user_sequences同义词
Drop Sequence seq_name
上一篇: JDBC的Statement和PreparedStatement
下一篇: 微软展望2019科技