pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jenny DiBartolomeo <jdibartolomeo@agency.com>
To: pgsql-sql@postgresql.org
Subject: Comparing Dates to Current Time
Date: Wed, 24 Mar 1999 14:49:37 -0400
Message-ID: <v0401170fb31ee296d1cc@[206.100.119.176]> (raw)

OK... this is probably a trivial one.  In an Oracle query, I might do the
following select statement:

   SELECT title

     FROM articles

    WHERE expires > SYSDATE

How would I do the same thing in Postgres if the column "expires" is of the
data type "DATE"?  I've tried everything and read the man pages and can't
seem to get it working!  Any help would be VERY APPRECIATED!!!

Thanks sooooo much for any help you can give me!!!!  Please respond via
email to jdibartolomeo@agency.com.

-Jenny

------------------------------
Jennifer DiBartolomeo
jdibartolomeo@agency.com
------------------------------



view thread (4+ messages)  latest in thread

Message-ID: <v0401170fb31ee296d1cc@[206.100.119.176]>
Permalink:  ../v0401170fb31ee296d1cc@%5B206.100.119.176%5D/
Also on:    postgresql.org/message-id/v0401170fb31ee296d1cc@[206.100.119.176]

 · 

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: jdibartolomeo@agency.com
  Subject: Re: Comparing Dates to Current Time
  In-Reply-To: <v0401170fb31ee296d1cc@[206.100.119.176]>
  References: <v0401170fb31ee296d1cc@[206.100.119.176]>

* 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