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 -> integer division

integer division

From: Daren Lee <dalee_at_pelican.cs.ucla.edu>
Date: 1997/06/30
Message-ID: <5p9chn$j4r@pelican.cs.ucla.edu>#1/1

hi

does anyone know how to force integer division?

i'm subtracting 2 DATE types to get the number of days between them and then i need to divide by 7.

e.g:

to_char(date1,'j')-to_char(date2,'j')/7

thanks Received on Mon Jun 30 1997 - 00:00:00 CDT

Original text of this message

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