This Oracle tutorial explains how to use the Oracle/PLSQL MOD function with syntax and examples.
The Oracle/PLSQL MOD function returns the remainder of m divided by n.
The syntax for the MOD function in Oracle/PLSQL is:
Numeric value used in the calculation.
Numeric value used in the calculation.
The MOD is calculated as follows:
The MOD function returns a numeric value. The MOD function returns m if n is 0.
The MOD function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle MOD function examples and explore how to use the MOD function in Oracle/PLSQL.
For example: