Insert Select sequence.nextval Problme
644850Jan 16 2009 — edited Jan 16 2009Hi,
I am trying to insert records in the table using query similar to
insert into table1 (id, col1, col2)
select
sequence.nextval
t1. col1, t1.col2
from table t1;
I am getting following error
ORA-02287: sequence number not allowed here
Will you please let me know how to resolve this?
Regards
~Pravin