pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kaloyan Iliev Iliev <news1@faith.digsys.bg>
To: pgsql-sql@postgresql.org
Subject: Problems with UNION ALL and ORDER BY
Date: Mon, 02 Aug 2004 20:37:15 +0300
Message-ID: <410E7BCB.9020604@faith.digsys.bg> (raw)

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.




view thread (7+ messages)

Message-ID: <410E7BCB.9020604@faith.digsys.bg>
Permalink:  ../410E7BCB.9020604@faith.digsys.bg/
Also on:    postgresql.org/message-id/410E7BCB.9020604@faith.digsys.bg

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: news1@faith.digsys.bg
  Subject: Re: Problems with UNION ALL and ORDER BY
  In-Reply-To: <410E7BCB.9020604@faith.digsys.bg>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox