Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

984640Jan 16 2013 — edited Jan 18 2013
Hi, I'm using Oracle 8i and could not use LEFT JOIN. So I need to use (+) instead.
But I'm encountering ORA-01417 for I.COL3 (+) =G.COL5

The complete command as follows:
SELECT *
FROM B, A, C, D, J, K, L, E, F, G, H, I
WHERE B.COL1='ABC'
AND B.COL1=A.COL1 AND B.COL2=A.COL2 AND B.COL3=A.COL3
AND C.COL1=B.COL1 AND C.COL2=B.COL6 AND C.COL3=B.COL7
AND B.COL1=D.COL1 (+) AND D.COL2 (+) =B.COL6
AND A.COL1=J.COL1 (+) AND A.COL2=J.COL2 (+)
AND B.COL1=K.COL1 (+) AND B.COL6=K.COL2 (+) AND B.COL11=K.COL3 (+) AND B.COL12=K.COL4 (+)
AND A.COL1=L.COL1 (+) AND A.COL2=L.COL2 (+) AND A.COL3=L.COL3 (+)
AND E.COL1 (+) = 'ABC' AND E.COL2 (+) =C.COL20 AND E.COL3 (+) =C.COL21
AND F.COL1 (+) = 'ABC' AND F.COL2 (+) =C.COL20
AND G.COL1 (+) = 'ABC' AND G.COL2 (+) =B.COL11 AND G.COL3 (+) =B.COL12
AND H.COL1 (+) = 'ABC' AND H.COL2 (+) ='NIP' AND H.COL3 (+) =G.COL5
AND I.COL1 (+) = 'ABC' AND I.COL2 (+) ='NIP' AND I.COL3 (+) =G.COL5* AND I.COL4 (+) =A.COL5 AND I.COL5 (+) ='0001'

Please advise.
Thanks in advance.
This post has been answered by Frank Kulash on Jan 17 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2013
Added on Jan 16 2013
6 comments
199 views