CHAR2HEXINT_UDF
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') from
t1;
More information from the source function
Function documentation can be checked here.
Last updated