Re: sort question

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: sort question
Дата
Msg-id 1071596501.1686.525.camel@localhost.localdomain
обсуждение исходный текст
Ответ на sort question  (Glenn Holmer <gholmer@weycogroup.com>)
Список pgsql-jdbc
Glenn,

How come there are spaces in there? ' 9 ' ?

what happens if you trim(sizes) ?

Dave
On Tue, 2003-12-16 at 12:33, Glenn Holmer wrote:
> I don't know if this is a JDBC thing or not, but if I issue this
> query:
>
> select distinct style, color, width, size from skiddata
> where skidno = 'F3932' order by style, color, width, size;
>
> I get the sizes in order '10 ', '10-', '11 ', '12 ', ' 9 ',
> ' 9-'.  Shouldn't ' 9 ' and ' 9-' come first?  Have I got
> something set up wrong in Postgres?
>
> I'm using Postgres 7.3.2 on SuSE Linux 8.2 (kernel 2.4.20), driver
> pg73jdbc3.jar.


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

Предыдущее
От: Glenn Holmer
Дата:
Сообщение: sort question
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: sort question