Part6 create sequence error
4
1 DR. GIRIJA NARASIMHAN Part 6- Create Sequence ERROR
description
create sequence error, oracle 10g
Transcript of Part6 create sequence error
![Page 1: Part6 create sequence error](https://reader036.fdocuments.in/reader036/viewer/2022082702/55635553d8b42a90698b58cf/html5/thumbnails/1.jpg)
1DR. GIRIJA NARASIMHAN
Part 6- Create Sequence ERROR
![Page 2: Part6 create sequence error](https://reader036.fdocuments.in/reader036/viewer/2022082702/55635553d8b42a90698b58cf/html5/thumbnails/2.jpg)
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
![Page 3: Part6 create sequence error](https://reader036.fdocuments.in/reader036/viewer/2022082702/55635553d8b42a90698b58cf/html5/thumbnails/3.jpg)
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
![Page 4: Part6 create sequence error](https://reader036.fdocuments.in/reader036/viewer/2022082702/55635553d8b42a90698b58cf/html5/thumbnails/4.jpg)
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