From: omid omoomi <oomoomi@hotmail.com>
To: postgres@weblynk.com
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Date comparisons
Date: Wed, 27 Oct 1999 05:29:18 PDT
Message-ID: <19991027122920.51358.qmail@hotmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: oomoomi@hotmail.com, postgres@weblynk.com
Subject: Re: [SQL] Date comparisons
In-Reply-To: <19991027122920.51358.qmail@hotmail.com>
References: <19991027122920.51358.qmail@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox