Show all Hide all

This function takes an integer string and returns its modulus 10 checksum.

If the input string is either null or if it contains any character that is not a digit then the function will return a value of null.

Type: Scalar function
Area of use: General use

Return value: bigint

The generated modulus 10 checksum.


@IntegerString mandatory varchar(8000)
The integer string for which to generate a modulus 10 checksum.