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

Home -> Community -> Mailing Lists -> Oracle-L -> merge

merge

From: <bulbultyagi_at_now-india.net.in>
Date: Fri, 26 Dec 2003 10:39:25 -0800
Message-ID: <F001.005DB1A0.20031226103925@fatcity.com>


Hello list I am using Oracle 9.2.0.1.0 ,

Consider the merge command :

merge into <table1>
using........
on (column matching condition)
then
update set .........
when not matched then

insert values .......................;

Is there a restriction that the column specified in 'column matching condition' cannot be placed in the 'update set' clause ?

The docs don't mention this, but I tried this out and I seem to be experiencing this behaviour.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: <bulbultyagi_at_now-india.net.in
  INET: bulbultyagi_at_now-india.net.in

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Dec 26 2003 - 12:39:25 CST

Original text of this message

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