Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to implement exception handling on MERGE statement in oracle10g?

Sumit GujarJul 19 2012 — edited Jul 19 2012
Hello Experts,
Is anybody knows how to handle the exception on below MERGE statement?
MERGE INTO COMM_EXSTS_COMIT_AGGR TARGET
  USING
  (
        select  * from   ABC ) SRC
  ON
  (
        SRC.COMMITMENT_ID = TARGET.COMMITMENT_ID 
   )
  
  WHEN MATCHED THEN
  UPDATE 

  WHEN NOT MATCHED THEN
  INSERT ;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2012
Added on Jul 19 2012
4 comments
17,577 views