Re: Date

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "cristi" <cristi(at)dmhi(dot)ct(dot)ro>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Date
Date: 2002-04-04 05:29:06
Message-ID: web-847194@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Cristi,

> salt=> SELECT da FROM a WHERE da =
> to_date('03-31-2002','MM-DD-YYYY');
> ERROR: No such function 'to_date' with the specified attributes
>
> salt=> SELECT da FROM a WHERE da = (DATE '2002-03-31');
> 03-30-2002
> 03-30-2002
<snip>
> 03-30-2002
> (1808 rows)

Please post both your postgres version and your actual CREATE TABLE
statement.

-Josh Berkus

Browse pgsql-novice by date

  From Date Subject
Next Message Chris 2002-04-04 21:24:18 identity columns ?
Previous Message cristi 2002-04-04 05:07:00 Re: Date