Progress
SQL-92
Guide and Reference


MOD Function

Returns the remainder of expression1 divided by expression2.

SYNTAX

MOD ( expression1 , expression2 ) 

The following example shows how to use the MOD function:

EXAMPLE

This example illustrates the MOD function:

SELECT MOD (11, 4) ’Modulus’ FROM SYSPROGRESS.SYSCALCTABLE; 

NOTES

COMPATIBILITY

ODBC Compatible


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095