pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Haris Susanto <hariss@dnet.net.id>
To: pgsql-sql-digest <pgsql-sql@hub.org>
Subject: Re: [SQL] Date comparisons
Date: Thu, 28 Oct 1999 16:46:02 +0700
Message-ID: <10698.991028@dnet.net.id> (raw)
In-Reply-To: <199910280300.XAA37450@hub.org>
References: <199910280300.XAA37450@hub.org>

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

psd> regards,
psd> omid omoomi

-----
Usually I use this :
select * from a where date_trunc('day',cdate) < '10-20-1999';


Best regards,
Haris                            mailto:hariss@dnet.net.id





view thread (4+ messages)

Message-ID: <10698.991028@dnet.net.id>
Permalink:  ../10698.991028@dnet.net.id/
Also on:    postgresql.org/message-id/10698.991028@dnet.net.id

 · 

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: hariss@dnet.net.id, pgsql-sql@hub.org
  Subject: Re: [SQL] Date comparisons
  In-Reply-To: <10698.991028@dnet.net.id>
  References: <199910280300.XAA37450@hub.org> <10698.991028@dnet.net.id>

* 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