Create Sequence « Sequence « Oracle PL / SQL






1.Create a SEQUENCE and retrieve the value
2.If id is null, use the value from sequence
3.CREATE SEQUENCE myTableIDSeq INCREMENT BY 1 START WITH 1000;
4.Use dual table to check sequence
5.create sequence emps_seq start with 501 increment by 10