DB2 Scalar functions - TO_HEX
The TO_HEX function converts a numeric expression into the hexadecimal representation.
The schema is SYSIBM.
The data type of the result depends on the data type of the input expression:
If the argument can be null, the result can be null. If the argument is null, the result is the null value.
values to_hex(565); returns value 235.