Example: Decoding a Sequence of Characters to Base16

Teradata Vantageā„¢ Data Types and Literals

brand
Software
Teradata Vantage
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 ('5A', 'base16') as BYTE (16));
TO_BYTES('5A','base16')

returns '5A-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 '