| От | Richard Huxton |
|---|---|
| Тема | Re: Ordering in SELECT statement |
| Дата | |
| Msg-id | 46817312.5090004@archonet.com обсуждение исходный текст |
| Ответ на | Ordering in SELECT statement ("kdealba@uaaan.mx" <kdealba@uaaan.mx>) |
| Список | pgsql-general |
kdealba@uaaan.mx wrote:
>
> Hello,
>
> I use the following command "SELECT * FROM employees ORDER BY name"
> (a very simple sql statement) the main thing here is that I get a
> list ordered without taking into accound the spaces. For example, I
> get the following listing:
> ABAB
> AB CD
> ABD E
> AB EF
>
> and what I need is the following ("old fashion", that is, the
> "SPACE" is another character whose ASCII value is before any other
> LATIN letter's!!)
You'll want to read up on locales - you want the "C" locale. I'm afraid
it'll mean dumping your database(s) and running initdb again.
--
Richard Huxton
Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера