Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

hex to char conversion - forum topic by velunatarajan@gmail.com

$
0
0

Hi,
Could anyone help me to convert HEX to CHAR for given column. I knew we can pass the hex value and convert to char, here I want to pass the column name (e.g: CHAR_To_HEX) and get char value.
--this works
SEL
CHAR2HEXINT('2650Wilson Ave.') AS CHAR_To_HEX

_UNICODE '003200360035003000570069006C0073006F006E0020004100760065002E'XCV AS HEX_TO_CHAR

;
--this error out
SEL
CHAR2HEXINT('2650Wilson Ave.') AS CHAR_To_HEX

_UNICODE (CHAR_To_HEX)'XCV AS HEX_TO_CHAR

;

 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>