Re: [SQL] Date comparisons

From: "omid omoomi" <oomoomi(at)hotmail(dot)com>
To: postgres(at)weblynk(dot)com, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Date comparisons
Date: 1999-10-27 05:29:18
Message-ID: 19991027122920.51358.qmail@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hello ,try this :
select * from a where a.cdate < '10-20-1999' ;

regards,
omid omoomi

>From: Rich Ryan <postgres(at)weblynk(dot)com>
>To: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgreSQL(dot)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

Browse pgsql-sql by date

  From Date Subject
Next Message Rich Ryan 1999-10-27 06:46:04 Date comparisons
Previous Message Kyle Bateman 1999-10-26 15:19:19 Re: [SQL] Week of year function?