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: sql syntax ... join

Re: sql syntax ... join

From: Holger Baer <holger.baer_at_science-computing.de>
Date: Fri, 16 Jan 2004 17:38:41 +0100
Message-ID: <bu942i$nej$1@news.BelWue.DE>


Jon wrote:
> Hi, I like to know if it is possible to make a simple join but based on an
> expression like the following one
>
> select * from table1 a, table2 where a.trim(cod) = b.cod
>
> thanks
>
>

It should work as long as you get the syntax right:

select * from table1 a, table2 where trim(a.cod) = b.cod

With your example, I get ora-00904 invalid column name.

HTH Holger Received on Fri Jan 16 2004 - 10:38:41 CST

Original text of this message

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