Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Query Date by Time

Re: Query Date by Time

From: G Quesnel <dbaguy_ott_at_yahoo.com>
Date: 6 Nov 2006 10:42:27 -0800
Message-ID: <1162838546.987380.217490@b28g2000cwb.googlegroups.com>


Well,
- doing a trunc (sysdate - 1) will get you yesterday

By combining the functions together, you could end up with something like...
my_date_col between to_date(to_char(sysdate-1,'YYYYMMDD')||' 23:00:00'),'YY...

hth Received on Mon Nov 06 2006 - 12:42:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US