Previous Topic Next topic Print topic


MOD

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