Re: Ordering a name list and ignoring whitespace

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ordering a name list and ignoring whitespace
Дата
Msg-id 16742.1239891200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Ordering a name list and ignoring whitespace  (Mikel Lindsaar <raasdnil@gmail.com>)
Список pgsql-sql
Mikel Lindsaar <raasdnil@gmail.com> writes:
> I'm trying to select a list of names in alphabetical order but
> ignoring the whitespace.

> So for example, the name "La Combe" should come after "Lace" but
> before "Lacs..."

FWIW, this would probably happen automatically if you were using a
non-C locale.  I'm not sure that's really a good solution, because
switching to a different locale would affect every sort operation
you ever do.  But it's an alternative to consider.
        regards, tom lane


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

Предыдущее
От: ShuA
Дата:
Сообщение: Re[2]: Need a script that bakes INSERT script from SELECT results
Следующее
От: Gerardo Herzig
Дата:
Сообщение: finding UNIQUES in information_schema