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

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-01417

Re: ORA-01417

From: Donald M. Sheara, Jr. <dsheara_at_earthlink.net>
Date: Sat, 6 Mar 1999 00:23:36 -0600
Message-ID: <7bqhkg$4av$1@holly.prod.itd.earthlink.net>


Use a view to join two of the tables, then join the view to the third Russ Conway wrote in message <36E02F61.607B0149_at_NOSPAMgm.cytec.com>...
>I'm having a problem joining three tables with the following query:
>
>select
> ecl.lord,
> ecl.lline,
> ecl.lwhs,
> to_char(floor(ech.hstore/100)),
> ech.hcust,
> to_char(to_number(i_ux.uxgrp)),
> ecl.lprod,
> ecl.lnet,
> ecl.lqord,
> ecl.lqshp,
> DECODE(ecl.lscdt, 0, NULL,
> to_date(ecl.lscdt, 'yyyymmdd'))
>from bpcs.i_ux, bpcs.ech, bpcs.ecl
>where lord = hord(+) and
> floor(ech.hstore/100) = uxdept(+) and
> lprod = uxprod(+) and
> hid <> 'CZ'
>;
>
>I keep getting...
>
>ORA-01417: a table may be outer joined to at most one other table
>
>I would like to join ecl to ech (outer join) and then join the results
>of that to i_ux (outer join). Can this be done? Do I need a view or a
>subquery?
>
Received on Sat Mar 06 1999 - 00:23:36 CST

Original text of this message

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