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: Adding changed records

Re: Adding changed records

From: Scott Mattes <Scott_at_TheMattesFamily.ws>
Date: Tue, 06 May 2003 12:45:05 GMT
Message-ID: <l7Ota.12435$Jf.6420116@news1.news.adelphia.net>


update yada;

if sql%rowcount = 0
then
  insert yada;
end if;

"Randy Harris" <randy.harris_at_nospam.net> wrote in message news:5iEta.4179$3f7.3486286_at_newssvr28.news.prodigy.com...
> Is there a simple means, with either SQL*Plus or SQL*Loader, to UPDATE
> records if they exist but INSERT if they do not?
>
> --
> Randy Harris
>
>
>
Received on Tue May 06 2003 - 07:45:05 CDT

Original text of this message

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