Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sequence.nextval ?
I wrote:
> 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:
The examples should be clearer ths way:
(
dupcheckid,
field1,
...
)
VALUES
(
dupcheckid.nextval,
(
<*>select
field1, ...
and
(
dupcheckid,
field1,
...
)
select
dupcheckid.<*>nextval, field1, ... ____________________
Thanks for any help,
Phil R Lawrence
Received on Fri Jan 14 2000 - 14:29:04 CST
![]() |
![]() |