Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sysdate - 90 mins query
On Sat, 4 May 2002, Stephane Faroult wrote:
> where tm_date >= to_number(to_char(sysdate - 0.0625, 'YYYYMMDD'))
> and to_date(to_char(tm_date)||tm_time, 'YYYYMMDDHH24:MI') >= sysdate -
> 0.0625
>
has anyone written a dbms_ package for this? i am surprised something isnt included with oracle to cover these time issues. i find myself needed to convert to ctime() or gmtime() so often ... i am so embarrassed to have to whip out the three line sql statement to do it.
--- Gabriel Millerd | "Be liberal in what you accept, and conservative Script Monkey | in what you send." | -- Jon Postel, Internet Pioneer RFC1122 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Gabriel C Millerd INET: gmillerd_at_qualhost.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Sat May 04 2002 - 13:18:18 CDT
![]() |
![]() |