From: gighen.daisuku@SUCKYOURSPAMlibero.it
To: pgsql-sql@postgresql.org
Subject: Re: problem with casting
Date: Thu, 15 Feb 2001 09:39:37 +0000 (UTC)
Message-ID: <slrn98n8uc.1hc.gighen.daisuku@localhost.localdomain> (raw)
References: <200102142105.f1EL5fx84448@mail.postgresql.org>
In data Wed, 14 Feb 2001 21:10:30 +0000 (UTC), postgresql scrive:
>I have a table that has a 'date' column. In psql I tried to do a
>
>select proofdate::text from openjobs where jobno = '10625';
>
>responce: can not cast type 'date' to 'text'
>
>Did i miss-read this section. I thought I could cast the date to text. has anyone seen
>this or am I missreading the docs?
>
select to_char(proofdate, 'dd/mm/yyyy') from openjobs where jobno = '10625';
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: gighen.daisuku@SUCKYOURSPAMlibero.it
Subject: Re: problem with casting
In-Reply-To: <slrn98n8uc.1hc.gighen.daisuku@localhost.localdomain>
References: <200102142105.f1EL5fx84448@mail.postgresql.org> <slrn98n8uc.1hc.gighen.daisuku@localhost.localdomain>
* 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