Previous Topic Next topic Print topic


MOD

Restriction: This topic applies to Windows environments only.
ANSI DB2 SQL/DS XDB
      X

Returns the remainder of expr1/expr2. The format appears below:

MOD(expr1,expr2)

For example:

MOD(10,4) = 2
MOD(2,10) = 2
Previous Topic Next topic Print topic