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 -> Re: what do I know Oracle 9i MERGE statement is done via insert or update

Re: what do I know Oracle 9i MERGE statement is done via insert or update

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Sat, 21 Feb 2004 14:44:48 -0800
Message-ID: <1077403445.131825@yasure>


Peter vu wrote:

> After the completion of oracle 9i MERGE statement, I would like to do
> some processing depend on whethere the data is insert or updated.
>
> What is the best way to do it?

If you are going to have an IF statement ... have an IF statement.

This is not an appropriate use of MERGE.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Sat Feb 21 2004 - 16:44:48 CST

Original text of this message

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