pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Ryan <postgres@weblynk.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Date comparisons
Date: Tue, 26 Oct 1999 23:46:04 -0700
Message-ID: <00bf01bf2046$f18fdcc0$9befaace@usedcars.com> (raw)
References: <17667.940862730@sss.pgh.pa.us>
	<003001bf1f02$39e0e960$9befaace@usedcars.com>

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





view thread (4+ messages)  latest in thread

Message-ID: <00bf01bf2046$f18fdcc0$9befaace@usedcars.com>
Permalink:  ../00bf01bf2046$f18fdcc0$9befaace@usedcars.com/
Also on:    postgresql.org/message-id/00bf01bf2046$f18fdcc0$9befaace@usedcars.com

 · 

reply

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: postgres@weblynk.com
  Subject: Re: Date comparisons
  In-Reply-To: <00bf01bf2046$f18fdcc0$9befaace@usedcars.com>
  References: <17667.940862730@sss.pgh.pa.us> <003001bf1f02$39e0e960$9befaace@usedcars.com> <00bf01bf2046$f18fdcc0$9befaace@usedcars.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