Re: Wrong "ORDER BY" on a numeric value result

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Wrong "ORDER BY" on a numeric value result
Дата
Msg-id i489be$6l3$1@dough.gmane.org
обсуждение исходный текст
Ответ на Re: Wrong "ORDER BY" on a numeric value result  (Stefan Wild <wilds81@yahoo.de>)
Ответы Re: Wrong "ORDER BY" on a numeric value result  (Stefan Wild <wilds81@yahoo.de>)
Список pgsql-general
Stefan Wild wrote on 15.08.2010 10:36:
>> column is numeric, but upper() works on text, and returns
>> text, so your
>> numeric column got casted to text by using upper (which is
>> pointless
>> anyway - there is no "upper" version of digits).
>> remove upper() and you'll be fine.
>>

> Thank you guys! That was the point.

The real question is:

what did you try to accomplish with the UPPER() on a numeric column?

Regards
Thomas

В списке pgsql-general по дате отправления:

Предыдущее
От: Stefan Wild
Дата:
Сообщение: Re: Wrong "ORDER BY" on a numeric value result
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: InitDB: Bad system call