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

Home -> Community -> Usenet -> c.d.o.server -> Hostarrays and UPDATE with missing records

Hostarrays and UPDATE with missing records

From: Brian Rasmusson <br_at_belle.dk>
Date: 1998/03/02
Message-ID: <34FA8D53.8A076495@belle.dk>#1/1

Hi,

i'm in the process of optimizing some of our Oracle applications, but have run into a tricky situation.

I have some code like this:

UPDATE record
IF UPDATE failed

   INSERT record
END IF Can i achieve the same result using host arrays? I would like to try to UPDATE e.g. 100 records at a time, and have an indicator of which failed, and then INSERT those. I don't see anything about this in the manuals, so i guess it is not possible.

Any other solutions than issuing the above code one time per record?

Best regards,
Brian


Brian Rasmusson, Software engineer & analyst        e-mail: br_at_belle.dk
Belle Systems A/S                                   web   : www.belle.dk
Network, Internet and communication specialists     phone : +45 59442500

------------------------------------------------------------------------
Received on Mon Mar 02 1998 - 00:00:00 CST

Original text of this message

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