Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回一个整数除以另一个整数之后产生的余数。
MOD( dividend, divisor )
dividend 被除数,即除法的分子。
divisor 除数,即除法的分母。
被除数为负数时结果为负数或零。除数的符号没有影响。
SQL/2008 MOD 函数是可选 SQL/2008 语言功能 T441 的一部分。
以下语句返回值 2:
SELECT MOD( 5, 3 );