Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the remainder when one whole number is divided by another.
REMAINDER( dividend, divisor )
The dividend, or numerator of the division.
The divisor, or denominator of the division.
You can also use the MOD function to return the remainder.
The following statement returns the value 2:
SELECT REMAINDER( 5, 3 );