1DR. GIRIJA NARASIMHAN
Part 6- Create Sequence
ERROR
2DR. GIRIJA NARASIMHAN
SQL> create sequence seq1
2 start with 20
3 increment by -2
4 maxvalue 2
5 cycle
6 nocache;
create sequence seq1
*
ERROR at line 1:
ORA-04014: descending sequences that CYCLE must specify
MINVALUE
3DR. GIRIJA NARASIMHAN
SQL> create sequence seq1
2 start with 8
3 increment by -2
4 maxvalue 2
5 minvalue 6
6 cycle
7 nocache;
create sequence seq1
*
ERROR at line 1:
ORA-04004: MINVALUE must be less than MAXVALUE
SQL> create sequence seq1
2 start with 20
3 increment by -2
4 maxvalue 10
5 minvalue 8
6 cycle
7 nocache;
create sequence seq1
*
ERROR at line 1:
ORA-04008: START WITH cannot be more than MAXVALUE
4DR. GIRIJA NARASIMHAN

Part6 create sequence error

  • 1.
    1DR. GIRIJA NARASIMHAN Part6- Create Sequence ERROR
  • 2.
    2DR. GIRIJA NARASIMHAN SQL>create sequence seq1 2 start with 20 3 increment by -2 4 maxvalue 2 5 cycle 6 nocache; create sequence seq1 * ERROR at line 1: ORA-04014: descending sequences that CYCLE must specify MINVALUE
  • 3.
    3DR. GIRIJA NARASIMHAN SQL>create sequence seq1 2 start with 8 3 increment by -2 4 maxvalue 2 5 minvalue 6 6 cycle 7 nocache; create sequence seq1 * ERROR at line 1: ORA-04004: MINVALUE must be less than MAXVALUE
  • 4.
    SQL> create sequenceseq1 2 start with 20 3 increment by -2 4 maxvalue 10 5 minvalue 8 6 cycle 7 nocache; create sequence seq1 * ERROR at line 1: ORA-04008: START WITH cannot be more than MAXVALUE 4DR. GIRIJA NARASIMHAN