Re: problem with casting

From: gighen(dot)daisuku(at)SUCKYOURSPAMlibero(dot)it (Gighen Daisuku)
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: problem with casting
Date: 2001-02-15 09:39:37
Message-ID: slrn98n8uc.1hc.gighen.daisuku@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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';

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2001-02-15 12:56:59 Re: [GENERAL] what means "INSERT xxx yyy" ?
Previous Message Jean-Arthur Silve 2001-02-15 09:10:52 what means "INSERT xxx yyy" ?