create sequence emps_seq start with 501 increment by 10 : Create Sequence « Sequence « Oracle PL / SQL






create sequence emps_seq start with 501 increment by 10

 

SQL>
SQL> create sequence emps_seq
  2     start with 501
  3     increment by 10;

Sequence created.

SQL>
SQL> drop sequence emps_seq;

Sequence dropped.

SQL>
SQL>

   
  








Related examples in the same category

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