Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Thomas.

Asked: February 16, 2022 - 10:45 pm UTC

Last updated: February 17, 2022 - 3:27 am UTC

Version: 11g

Viewed 1000+ times

You Asked

In Microsoft SQL Server we are strongly encouraged to NOT use the MERGE statement due to unreliability.
Is the same true for the Oracle MERGE statement?
Is it reliable?

Thanks,

and Connor said...

100% rock solid.

Any incorrect behaviour for MERGE is a bug and we'd fix it.

People sometimes confuse an error ORA-30926 that might come out of MERGE with reliability, but that error only comes when your input data doesn't make sense. See the video below for details





Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library