I tried to use the following to update the matched records,
- merge into table_A d
-
using (select a.toobjectnumber,a.fromobjectnumber,b.trobjectnumber,c.objectnumber,b.eexport_control from relationship_table a, table_A c , table_B b)alg
-
on (alg.toobjectnumber = alg.objectnumber AND alg.fromobjectnumber=alg.trobjectnumber)
-
when matched then
-
update set d.export_control = alg.eexport_control;
Error report:
SQL Error: ORA-30926: unable to get a stable set of rows in the source tables
30926. 00000 - "unable to get a stable set of rows in the source tables"
*Cause: A stable set of rows could not be got because of large dml
activity or a non-deterministic where clause.
*Action: Remove any non-deterministic where clauses and reissue the dml.