Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to Update a UNIQUE field ?

Re: How to Update a UNIQUE field ?

From: Bricklen Anderson <bricklen_at_shaw.ca>
Date: Tue, 16 Apr 2002 16:39:38 GMT
Message-ID: <3CBC52F6.B24B271B@shaw.ca>


reference the sequence like my_seq.nextval. this can be done in sqlldr or as a trigger.

if those are not viable options, then provide some more details that will allow people to help you.

R Chin wrote:
>
> MY_TAB gets loaded daily, one UNIQUE-indexed field COL_UNIQ does NOT get
> values in the loading....
> I need to populate this field with unique values....
>
> How can I UPDATE this field with (where is null) values (from a SEQUENCE) ?
>
> Thanks
>
> Robert
Received on Tue Apr 16 2002 - 11:39:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US