Oops .... Multiply by 24 not divide ... I almost had a senior moment and I am not even 40 ... Apologies to those who instinctively trusted the code below, it was a test. Raj ------------------------------------------------------------------------ --------=20 Rajendra dot Jamadagni at nospamespn dot com=20 All Views expressed in this email are strictly personal.=20 select standard_disclaimer from company_requirements;=20 QOTD: Any clod can have facts, having an opinion is an art ! -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jamadagni, Rajendra Sent: Wednesday, May 12, 2004 11:33 AM To: oracle-l@xxxxxxxxxxxxx Subject: RE: subtract dates Select (date2-date1)/24) diff_in_hours from dual / ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------