![]() |
|||
|
![]() |
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
![]() |
|
Looking for the original pages? (formerly called "Morgan's Library") You can find them here.
![]() Term: MOD
Definition: MOD(x,y) The remainder will be returned when 'x' is divided by 'y' The mod function will return x if y is 0. If y = 0, it returns x. Example Usage: The SQL below returns the remainder when 10 is divided by 3 (leaving '1'). SQL> SELECT MOD(10,3) RES FROM DUAL; The SQL below shows a case where the dividend is less than the divisor. SQL> SELECT MOD(3,10) RES FROM DUAL; Related Links:
Related Code Snippets:
![]() ![]() |
![]() |
Home : Code Library : Sponsors : Privacy : Terms of Use : Contact Us | 44 users online © 2009 psoug.org |