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 -> Insert/update with one command

Insert/update with one command

From: Anton Dischner <nomail_at_nospam.org>
Date: Tue, 30 Nov 2004 14:56:23 +0100
Message-ID: <301120041456237057%nomail@nospam.org>


Hi,

i believe with some release of Oracle there was intruduced a command which combines insert/update of data into a table.

What we do is:

insert into ...

   if data exists -> failure -> use update command.

what we are looking for is

   insert/update table ...

      if unique key -> update
      else insert

Any ideas?

Toni Received on Tue Nov 30 2004 - 07:56:23 CST

Original text of this message

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