Re: Ordering Error

From: Nabil Sayegh <postgresql(at)e-trolley(dot)de>
To: Jason Davis <jasdavis(at)tassie(dot)net(dot)au>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Ordering Error
Date: 2003-08-10 13:46:47
Message-ID: 1060523206.608.2.camel@billy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Am Son, 2003-08-10 um 15.23 schrieb Jason Davis:

> I can't use ORDER BY lower(col1) in my original and more complex query as
> the column is the result of a function.

If col1 is a function then try
ORDER BY <here_the_function_again_to_avoid_alias>

Of course this is ugly and slow, but if you find no other way at all ...

--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jun Queano 2003-08-10 14:44:17 array_in: Need to specify Dimension problem
Previous Message Jason Davis 2003-08-10 13:23:00 Ordering Error