Re: [SQL] Date comparisons - Mailing list pgsql-sql

From omid omoomi
Subject Re: [SQL] Date comparisons
Date
Msg-id 19991027122920.51358.qmail@hotmail.com
Whole thread Raw
Responses Re: [SQL] Date comparisons  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
hello ,try this :
select * from a where a.cdate < '10-20-1999' ;

regards,
omid omoomi


>From: Rich Ryan <postgres@weblynk.com>
>To: "pgsql-sql@postgresql.org" <pgsql-sql@postgreSQL.org>
>Subject: [SQL] Date comparisons
>Date: Tue, 26 Oct 1999 23:46:04 -0700
>
>I'm trying to do a > < on a date field. Not having any luck. My query looks
>like
>select * from a where a.cdate > Date('10-20-1999');
>I've tried every different date string format I can think of with no 
>dashes,
>colons, different orderings of the month, date, and year, etc. no luck. Any
>hints?
>Thanks,
>Rich
>
>
>
>************
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


pgsql-sql by date:

Previous
From: Rich Ryan
Date:
Subject: Date comparisons
Next
From: Tom Lane
Date:
Subject: Re: [SQL] Date comparisons