Returns the remainder when one whole number is divided by another.
REMAINDER( dividend, divisor )
dividend The dividend, or numerator of the division.
divisor The divisor, or denominator of the division.
INTEGER
NUMERIC
Alternatively, try using the MOD function.
SQL/2003 Vendor extension.
The following statement returns the value 2.
SELECT REMAINDER( 5, 3 ); |
Envoyer votre avis sur cette page par email. | Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |