About 11,100 results
Open links in new tab
  1. MOD - Oracle Help Center

    This function takes as arguments any numeric data type or any nonnumeric data type that can be implicitly converted to a numeric data type. Oracle determines the argument with the highest numeric precedence, implicitly converts the remaining arguments to that …

  2. Oracle / PLSQL: MOD Function - TechOnTheNet

    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.

  3. Oracle MOD () function - w3resource

    Aug 8, 2024 · The Oracle MOD() is used to return the remainder of a dividend divided by a divisor. This function also works on fractional values and returns the exact remainder. The function returns dividend when the value of divisor is 0.

  4. PLSQL | MOD Function - GeeksforGeeks

    Oct 18, 2019 · The MOD function is an inbuilt function in PLSQL which is used to return the remainder when a is divided by b. Its formula is . Syntax: MOD(a, b) Parameters Used: This function accepts two parameters a and b. This function gives remainder as the output when the input number a is divided by b.

  5. sql - What is the difference between MOD and REMAINDER in oracle

    Jun 27, 2014 · The REMAINDER function uses the round function in its formula, whereas the MOD function uses the floor function in its formula. In other words, when the arguments are positive integers, the mod function returns a positive number between 0 …

  6. MOD() Function in Oracle - Database.Guide

    Jul 21, 2021 · In Oracle, the MOD() function returns the modulo operation. In other words, it returns the remainder of its first argument divided by its second. The syntax goes like this: Each argument can be any numeric data type or any nonnumeric data type that can be implicitly converted to a numeric data type. Here’s an example: Result: MOD(100,6) .

  7. Script: MOD and REMAINDER in SQL and PL/SQL - Oracle Live SQL

    The formulas used by these two functions are: MOD (m, n) = m - n * FLOOR (m/n); REMAINDER (m, n) = m - n * ROUND (m/n); Thus, if ROUND rounds up, a larger number will be subtracted from m, and so the value returned by REMAINDER …

  8. SQL MOD() function - w3resource

    Apr 20, 2024 · MOD () is a mathematical function that calculates the remainder of the division of two numbers. In this case, MOD (-25,7) will return the remainder when -25 is divided by 7, which is 6. The result of the modulo operation, which is 6 in …

  9. Mod - Oracle SQL Function - Oracle Home

    Sep 20, 2018 · MOD returns the remainder of the first argument divided by the second argument. The arguments can be a numeric value or any type that can be implicitly converted to a numeric value. Oracle will determine the argument with the highest numeric precision and convert all the calculations and result to that level. Syntax: MOD(n,n2) Example:

  10. How to use the ROUND, TRUNC and MOD function in Oracle sql

    Jan 15, 2024 · MOD Function: MOD function is used to calculate the remainder number. The MOD function is often used to determine if a value is odd or even. MOD Example: SELECT MOD(5 ,2 ), MOD(1600 , 300 ) FROM DUAL; Mod Example 2: SELECT last_name, salary, MOD(salary, 5000) FROM employees WHERE job_id = 'SA_REP'; Read More:

  11. Some results have been removed
Refresh