From: Jason <jzhu@dental.temple.edu>
To: pgsql-sql@postgresql.org
Subject: Date: the day before yesterday.
Date: Fri, 10 Aug 2001 14:44:23 -0400
Message-ID: <9l19vh$9ku$1@cronkite.temple.edu> (raw)
I am trying to retrieve records generated in the passed two days and
encountered difficulties in dealing with the date in Oracle.
Here is the query I try to form:
select * from Table where InputDate>=[the day before yesterday]
I tried "sysdate-2", didn't work.
Any suggestions?
Thanks!
Jason
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jzhu@dental.temple.edu
Subject: Re: Date: the day before yesterday.
In-Reply-To: <9l19vh$9ku$1@cronkite.temple.edu>
* 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