Example: Decoding a Sequence of Characters to Base36 - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantageā„¢ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

The following query:

SELECT CAST (TO_BYTES ('-22EEVX', 'base36') as BYTE (16));
TO_BYTES('-22EEVX','base36')

returns 'F8-8D-33-23-00-00-00-00-00-00-00-00-00-00-00-00'