Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query Date by Time
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