Re: Using SELECT WHERE - Mailing list pgsql-novice

From Christian Pöcher
Subject Re: Using SELECT WHERE
Date
Msg-id 001301c4270f$b5df4ec0$6009cad4@dose
Whole thread Raw
In response to Using SELECT WHERE  (Michal Lijowski <michal@cvu.wustl.edu>)
List pgsql-novice
----- Original Message -----
From: "Michal Lijowski" <michal@cvu.wustl.edu>
To: <pgsql-novice@postgresql.org>
Sent: Thursday, April 15, 2004 9:03 PM
Subject: [NOVICE] Using SELECT WHERE



> RabStudies=> SELECT RabNo, ImplantDate, Comments    FROM RabStudiesInfo
> where  implantdate <> 0001-01-01;

You have to quote the date:
... where  implantdate <> '0001-01-01';

chris


pgsql-novice by date:

Previous
From: shadowbox@punkass.com
Date:
Subject: question on forced-killing the postmaster
Next
From: Tom Lane
Date:
Subject: Re: question on forced-killing the postmaster