Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> outer joins with composite keys in oracle impossible?

outer joins with composite keys in oracle impossible?

From: Jan Rosinowski <rosinowski_at_gmx.de>
Date: Wed, 27 Jan 1999 17:09:49 GMT
Message-ID: <36b3458d.24234877@bigXb>

i have two tables a,b with composite keys (c1,c2) and need to perform an outer join.

select *
from a,b
where a.c1=b.c1(+) and
a.c2=b.c2(+)

gives wrong selections.

(a.c1,a.c2)=(b.c1,b.c2) (+) is not accepted..

a.c1||a.c2=b.c1||b.c2(+) is not accepted..

ciao, jan Received on Wed Jan 27 1999 - 11:09:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US