Problems with UNION ALL and ORDER BY

Поиск
Список
Период
Сортировка
От Kaloyan Iliev Iliev
Тема Problems with UNION ALL and ORDER BY
Дата
Msg-id 410E7BCB.9020604@faith.digsys.bg
обсуждение исходный текст
Список pgsql-sql
10x for the replies.
We find the problem. It is in our scripts. 
We use to_char over a date field and then order by this field. So it sort it as text and not as date. 
I appologize for loosing your time.
10x again.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problems with UNION ALL and ORDER BY
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:143)