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: Generating Huge Table

Re: Generating Huge Table

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 23 May 2005 14:39:27 +0200
Message-ID: <5nj391hl6alha4f2mgb5csnhnmusl3o7b3@4ax.com>


On 23 May 2005 02:06:57 -0700, "Rauf Sarwar" <rs_arwar_at_hotmail.com> wrote:

>procedure blah (...,....,....)
>is
>begin
> insert into table ();
>exception
> when dup_val_on_index then
> update table ();
> when others then
> raise;
>end;
>/

This does work, but trapping an exception everytime is costly.

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon May 23 2005 - 07:39:27 CDT

Original text of this message

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