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!

UPSERT statement

455593Mar 22 2006 — edited Mar 22 2006
I have a question about MERGE... WHEN MATCHED...THEN UPDATE...WHEN NOT MATCHED...THEN INSERT.

Let's say we want to insert when not matched,
but we want to do nothing when matched, what would be the syntax?

MERGE... WHEN MATCHED...THEN UPDATE...WHEN NOT MATCHED...THEN NULL doesn't work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2006
Added on Mar 22 2006
4 comments
417 views