On Tue, 23 Jun 1998, Mattias Kregert wrote:
> How do I convert INTEGER to DATE in 6.3.2?
>
> I have a table 'mytbl' with a column 'd' which is
> an integer, containing dates in YYMMDD form. Now,
> how do I convert these integer dates to date dates?
I tried to do :
test=> SELECT 980623::text::date;
?column?
----------
23-06-0098
(1 row)
Maybe you should try something along this way :)
Patrice
--
Patrice H�D� --------------------------------- [EMAIL PROTECTED] -----
Nous sommes au monde. [...] La croyance en un esprit absolu ou en un
monde en soi d�tach� de nous n'est qu'une rationalisation de cette
foi primordiale. --- Merleau-Ponty, Ph�nom�nologie de la Perception
----- http://www.idf.net/patrice/ ----------------------------------