Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: div and mod syntax
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 DBAReceived on Mon Aug 21 2006 - 13:19:18 CDT