| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> Re: Locking a Table Within an INSERT
> Use a sequence
> replace the horrible expression by
> <sequence>.nextval and you are set.
>
> Sybrand Bakker
> Senior Oracle DBA
Would that I could. Unfortunately, the business requirements are that I know the generated values in advance of inserting them.
I've thought of establishing an intermediate table into which I could insert the values from a sequence, together with other record identifying information, to be used in a lookup later. But I'm dealing with, in some cases, a couple of million rows per run, with a dozen runs a day.
You can write me at eshevin_at_ford.com if you'd care to hear more. Received on Wed Jul 07 2004 - 10:35:09 CDT
![]() |
![]() |