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: Order by with case unsensitive in UNION

Re: Order by with case unsensitive in UNION

From: Valery Tsekhmister <valera_at_rinform.labor.ru>
Date: Mon, 4 Jan 1999 16:23:54 +0300
Message-ID: <76qfa9$ngm$1@news.sovam.com>


>I'm trying to sort datas in an UNION with case unsensitive:
>
>SELECT address1 from A
>UNION
>SELECT address2 from B
>ORDER BY LOWER(1)
>
>but it doesn't work.

There are no ways to do this. You can append sort expression into select list only and
use it in ORDER BY clause

Regards. Valery. Received on Mon Jan 04 1999 - 07:23:54 CST

Original text of this message

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