Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> sequence.nextval ?
I want to insert the nextval along with the results of a SELECT into a
table. Can't seem to get the syntax right. Oracle books don't cover this
one in the examples. I've tried:
(
dupcheckid,
...
)
VALUES
(
dupcheckid.nextval,
(
<*>select
field1, ... ____________________
and
(
dupcheckid,
...
)
select
dupcheckid.<*>nextval, field1, ... ____________________
Thanks for any help,
Phil R Lawrence
Received on Fri Jan 14 2000 - 14:17:16 CST