Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
Modulus Expression


Syntax
<numeric value expression dividend> ::= <numeric value expression>
<numeric value expression divisor> ::= <numeric value expression>
Notes
♦ | The MOD function returns the remainder of the first argument divided by the second argument. |
♦ | Both dividend and divisor shall be whole numbers (scale 0). |
♦ | The divisor shall not be 0. |
♦ | The data type of the result is the same type as the second argument. |
♦ | If either of the arguments are null, then the result is null. |
Examples
Expression |
Result |
MOD( 7, 2 ) |
1 |
MOD( 11, 4.0 ) |
3.0 |
Conformance
SQL:2003 standard |
- |
Feature T441 "ABS and MOD functions" |
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- May 27 2025 - 2:55pm
- May 14 2025 - 12:32pm
- Mar 19 2025 - 9:52pm
- Mar 14 2025 - 11:23am
- Mar 13 2025 - 11:42pm