Re: Search problem - Mailing list pgsql-general

From Julie Hunt
Subject Re: Search problem
Date
Msg-id 38F3AEDE.978067CD@chac.qld.edu.au
Whole thread Raw
In response to Search problem  ("Oscar" <oscar@sjs.com>)
List pgsql-general
Try:-

select * from table where date_field < '10-10-2000'::datetime; (or date if
your date_field is of type date)

Regards
Julie Hunt

Oscar wrote:

> Hi,
>
> I am using apache/php and postgres and I tried a search with dates, but it
> doesn't accept it...
>
> select * from table where date_field < 10-10-2000;
>
> It yells that I cannot use < signs with ints and dates...
>
> Any suggestions ??
>
> Thanks,
> Oscar


pgsql-general by date:

Previous
From: Julie Hunt
Date:
Subject: Re: Importing a comma-delimited text file
Next
From: Jeffrey
Date:
Subject: Out of Memory Errors