I am getting
ORA-30926: unable to get a stable set of rows in the source tables
in the following query
MERGE INTO table_1 a
USING
(SELECT a.ROWID row_id, 'Y'
FROM table_1 a ,table_2 b ,table_3 c
WHERE a.mbr = c.mbr
AND b.head = c.head
AND b.type_of_action <> '6') src
ON ( a.ROWID = src.row_id )
WHEN MATCHED THEN UPDATE SET in_correct = 'Y';
I've ran table_1
it has data and also I've ran the inside query (src
) which also has data.
Why would this error come and how can it be resolved?