Mod in Teradata

Modulo operator returns remainder of division

SELECT 17 MOD 2


Result will be
1


Select data,divisor, data MOD divisor as remainder from table

datadivisorremainder
1721
-173-2
17-32


Modulo operator results negative result if the numerator of the operation is negative.