## The MOD Function

integer-expression-1 and integer-expression-2 are integer value expressions.

## Rules:

- The result is the remainder of integer-expression-1 divided by integer-expression-2.
- If the value of integer-expression-2 is zero, a divide-by-zero error will be raised.
- The sign of the result is the same as the sign of integer-expression-1.
- If the value of either operand is NULL, then the result of the function is NULL.

Upright Database Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 dbtechnology@upright.se |