CHAR2HEXINT_UDF

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

Definition

Returns the hexadecimal representation for a character string.

PUBLIC.CHAR2HEXINT_UDF(INPUT_STRING VARCHAR);

Parameters

INPUT_STRING VARCHAR

The string to be converted.

Returns

Returns the hexadecimal representation of the string.

Example

Input:

SELECT CHAR2HEXINT('1234') from t1;

Output:

SELECT
PUBLIC.CHAR2HEXINT_UDF('1234') /*** MSC-WARNING - MSCEWI1020 - CUSTOM UDF 'CHAR2HEXINT_UDF' INSERTED. ***/ from
t1;

More information from the source function

Function documentation can be checked here.

Last updated