This is a deprecated version of the SnowConvert documentation, please visit the official site HEREarrow-up-right.
Check if a string value represents a numeric value.
PUBLIC.CHKNUM_UDF(NUM STRING);
NUM STRING
NUM
The value of the string to be checked.
Returns 1 if the parameter is a valid number. Otherwise, returns 0.
Input:
Output:
Last updated 1 year ago
SELECT CHKNUM('1032');
SELECT --** MSC-WARNING - MSCEWI1020 - CUSTOM UDF 'CHKNUM_UDF' INSERTED. ** PUBLIC.CHKNUM_UDF('1032');