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: Need a "div" function for SQL*Plus

Re: Need a "div" function for SQL*Plus

From: Stephen Harris <sweh_at_mpn.com>
Date: 9 Jan 1999 18:34:10 GMT
Message-ID: <7787f2$e9n$5@nebula.mpn.com>


chrisoc_at_ans.net wrote:
: To work with some dates stored as long integers I would really
: like a "div" function. I see "mod" but not "div".
: I have to do a lot of "divving" by 86400, the number of
: seconds in a day, to group records by day.

round(x/86400)

--

rgds
Stephen Received on Sat Jan 09 1999 - 12:34:10 CST

Original text of this message

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