in reply to Re^2: DBD ERROR: error possibly near <*> indicator at char
in thread DBD ERROR: error possibly near <*> indicator at char
Then your insert select can use the nextval function:create or replace sequence prod_seq minvalue 1 nomaxvalue start with x +xxx increment by 1 cache 20 noorder nocycle
You need to create the sequence only once, but be sure to set the "start with xxxx" to a value higher than anything in your table.insert into prod (ss) select prod_seq.nextval from dual
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBD ERROR: error possibly near <*> indicator at char
by shalu (Initiate) on Sep 21, 2010 at 13:36 UTC |