Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: simple SQL question about dividing numbers

Re: simple SQL question about dividing numbers

From: Andreas Necker <Andreas.Necker_at_isb-ag.de>
Date: Fri, 22 Feb 2002 16:32:33 +0100
Message-ID: <3C766491.3DCB058D@isb-ag.de>


hi,

Julian Kooiker wrote:
>
> Hi,
>
> I have a little problem and I can't find it in the documentation of sql. (I
> have a small learning book).
> If I divide a number, for example 16 / 5 then I want to grab only the number
> before the comma. Which function do I need to use?
>
> Julian Kooiker

Have a look at TRUNC().

ciao
andreas Received on Fri Feb 22 2002 - 09:32:33 CST

Original text of this message

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