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: cannot do outer join with the 'like' operator

Re: cannot do outer join with the 'like' operator

From: Thomas Schwickert <schwickert_at_yahoo.com>
Date: Fri, 28 Sep 2001 08:53:14 +0000 (UTC)
Message-ID: <3e273d4fc35fb912bf257bb1b38a1a60.20305@mygate.mailgate.org>


Hi,

"Dino Hsu" <dino1.nospam_at_ms1.hinet.net> wrote in message news:5e66rtksgk3fbt69mmdofm9eg39ksadbea_at_4ax.com...

> Dear all,
>
> Can anyone show me how to do outer join with the 'like' operator?
>
> SQL> l
> 1 select a.fsc, b.category_code
> 2 from tb_products a, tb_category b
> 3* where a.secco_code like b.secco_prefix || '%' (+)
> SQL> /
> where a.secco_code like b.secco_prefix || '%' (+)

change to
where a.secco_code like b.secco_prefix(+) || '%'

Hth
 Thomas

-- 
Posted from  [212.20.131.226] 
via Mailgate.ORG Server - http://www.Mailgate.ORG
Received on Fri Sep 28 2001 - 03:53:14 CDT

Original text of this message

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