Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回一个整数除以另一个整数之后产生的余数。
REMAINDER( dividend, divisor )
dividend 被除数,即除法的分子。
divisor 除数,即除法的分母。
也可以使用 MOD 函数来返回余数。
SQL/2008 服务商扩充。
以下语句返回值 2。
SELECT REMAINDER( 5, 3 );