From: Jens Hartwig <jhartwig@debis.com>
To: Leo Xavier <info@megabenfica.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: order by day or month, etc
Date: Wed, 03 Jan 2001 08:30:18 +0100
Message-ID: <3A52D50A.416A0C38@debis.com> (raw)
References: <001201c0751b$39405ca0$8902a8c0@centro.com>
Hello Leo,
which version of PostgreSQL are you running? I tested:
select to_char(abm_dat, 'DD/MM/YYYY') AS new_date
from t_dummy;
And it works fine:
new_date
------------
31/03/1992
15/06/1994
11/09/1993
19/11/1993
...
Regards, Jens
Leo Xavier schrieb:
> [...]
> doing this:
> SELECT to_char(field, 'DD/MM/YYYY') AS new_date
>
> as Francis Solomon said, didnt work... "unrecognized function" ...
> [...]
=============================================
Jens Hartwig
---------------------------------------------
debis Systemhaus GEI mbH
10875 Berlin
Tel. : +49 (0)30 2554-3282
Fax : +49 (0)30 2554-3187
Mobil : +49 (0)170 167-2648
E-Mail : jhartwig@debis.com
=============================================
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: jhartwig@debis.com, info@megabenfica.com
Subject: Re: order by day or month, etc
In-Reply-To: <3A52D50A.416A0C38@debis.com>
References: <001201c0751b$39405ca0$8902a8c0@centro.com> <3A52D50A.416A0C38@debis.com>
* 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