Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-02287: sequence number not allowed here

HuaMin ChenFeb 15 2012 — edited Jun 7 2012
<font face="Courier New" >
Hi,
Why do I have this problem?
insert into tab2 select tab2_seq.nextval,eng_cat from (select distinct eng_cat from job_det) a order by 2;

SQL> r
1* insert into tab2 select tab2_seq.nextval,eng_cat from (select distinct eng_cat
insert into tab2 select tab2_seq.nextval,eng_cat from (select distinct eng_cat from
*
ERROR at line 1:
ORA-02287: sequence number not allowed here

Thanks & Best Regards,
HuaMin
</font>
This post has been answered by Kim Berg Hansen on Feb 15 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2012
Added on Feb 15 2012
6 comments
37,505 views