Is it possible to continue a MERGE
after an EXCEPTION
?
MERGE INTO copy_emp c
USING employees e
ON (c.employee_id = e.employe
There are several ways to avoid termination. I have been mostly using FORALL SAVE EXCEPTIONS
clause.
In Oracle Database 10g and higher, PL/SQL offers three options for “continuing past an exception,”which really means avoiding termination of the execution of the current block. Please read this excellent article by Steven Feuerstein, http://www.oracle.com/technetwork/issue-archive/2009/09-mar/o29plsql-085126.html