ORA-01417: a table may be outer joined to at most one other table

I got ” ORA-01417: a table may be outer joined to at most one other table ”  error in Oracle database.

 

ORA-01417: a table may be outer joined to at most one other table

 

Details of error are as follows.

ORA-01417: a table may be outer joined to at most one other table
Cause: a.b (+) = b.b and a.c (+) = c.c is not allowed

Action: Check that this is really what you want, then join b and c first in a view.

 

 

a table may be outer joined to at most one other table

This ORA-01417 error is related with the join to another table.

a.b (+) = b.b and a.c (+) = c.c is not allowed

Check that this is really what you want, then join b and c first in a view.

 

For example, when I run the following query, I got this error.
SELECT t1.id, t1.name, t2.t3_id FROM t1, t2, t3 WHERE t1.id = t2.id(+)
AND t3.id = t2.id(+);

 

To solve this error, you should remove the second outer join as follows.

SELECT t1.id, t1.name, t2.t3_id FROM t1, t2, t3 WHERE t1.id = t2.id(+)
AND t3.id = t2.id;

 

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

 1,202 views last month,  1 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply