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 -> Re: ORA-01417: a table may be outer joined to at most one other table

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

From: Christoph Seidel <christoph.seidel1_at_gmx.de>
Date: Wed, 27 Aug 2003 22:04:28 +0200
Message-ID: <bij2qp$9uogi$1@ID-143718.news.uni-berlin.de>


Daniel Morgan wrote:
>> My data:
>>
>> table A and B: about 100 rows
>> table C: about 10 million rows
>>
>> outer joins:
>>
>> A = B(+)
>> and
>> C = B(+)
>
> The restriction exists as you have coded it but it does not exist if
> coded correctly.
>
> SELECT *
> FROM a, b,
> (SELECT *
> FROM b, c
> WHERE c.col1 = b.col1(+)) x
> WHERE a.col1 = b.col1 (+)
> AND a.col1 = x.col1;

Hm, and what about the performance of that beast? Received on Wed Aug 27 2003 - 15:04:28 CDT

Original text of this message

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