ORA-30926: unable to get a stable set of rows in the source
tables

Answer Posted / ram j

This would happen in an UPDATE using MERGE statement.
The cause of this that the Inner query in MERGE ( the one
after USING clause ) returns duplicate rows and Oracle
doesnt know which value to consider for UPDATE.

The only probable solution is to remove the duplicates from
the query or strengthen the join ( ON Clause ) so that the
unique values are considered for update.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IMP-00064: Definition of LOB was truncated by export

6023


[ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) Unsuccessful: alter table user.CEN_USER_MASTER add constraint FKF4EDEDC3D0BAAE75 foreign key (ROLE_ID) references user.CEN_ROLE_MASTER [ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) ORA-02275: such a referential constraint already exists in the table

2408


ORA-26029: index string.string partition string initially in unusable state

1818


IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier

2733


ORA-26082: load of overlapping segments on table string.string is not allowed

1449






ORA-26030: index string.string had string partitions made unusable due to:

1645


ORA-16516: The current state is invalid for the attempted operation.

8259


ORA-16627: No standby databases support the overall protection mode.

3649


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2982


IMP-00070: Lob definitions in dump file are inconsistent with database.

1393


IMG-02003: 2FF03 - incorrect color histogram feature specification

1310


ORA-26032: index string.string loading aborted after string keys

1739


In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.

2438


Hi guys, I have four tables those are emp,dept,eliminate and uneliminate. i wrote small cursor..when i run, it display one error (ORA-01403 nodata found)... The query is: Declare cursor c1 is select e.ename emp_name from emp e,dept d where e.deptno=d.deptno group by deptno; r1 c1%rowtype; test_emp varchar2(200); begin for r1 in c1 loop begin select eliminate_emp into test_emp from eliminate t,uneliminate ut where t.number=ut.number and t.deptno=e.deptno and rownum<1; end; dbms_output.put_line(r1.emp_name); end loop; end; Thanks...

2231


ORA-26028: index string.string initially in unusable state

3536