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: select distinct on computed column

Re: select distinct on computed column

From: Jim Smith <jim_at_jimsmith.demon.co.uk>
Date: 1997/01/08
Message-ID: <1O+U9CASb70yEwH0@jimsmith.demon.co.uk>#1/1

In article <32D2C414.1A93_at_c-square.no.junk>, Alvin Sylvain <alvin_at_csquare. no.junk> writes
>I'm converting an application from Sybase to Oracle and I've run
>into a number of quandries.
>
>This one is performing a "distinct" select on a "computed" column.
>
>Eg:
>
> select distinct name || ' ' || type "nametype"
> from categorytable
>
>Sybase allowed this, altho Oracle seems to not.

What error are you getting? This is perfectly valid.

-- 
Jim Smith
Received on Wed Jan 08 1997 - 00:00:00 CST

Original text of this message

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