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: div and mod syntax

Re: div and mod syntax

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 21 Aug 2006 20:19:18 +0200
Message-ID: <d8uje21o5ruq1pe2r8qrg4uot2cg23j7kc@4ax.com>


On Mon, 21 Aug 2006 08:39:38 -0700, DA Morgan <damorgan_at_psoug.org> wrote:

>sybrandb wrote:
>> rj wrote:
>>> Hi all.
>>>
>>> Can someone please tell me the syntax for div and mod funtions in SQL?
>>>
>>> Thanks in advance..
>>
>>
>> http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/functions001.htm#sthref915
>
>What DIV function?

trunc(a/b,0) shoud do nicely, shouldn't it?

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Aug 21 2006 - 13:19:18 CDT

Original text of this message

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