Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Implicit data type conversion to char ends up in Unicode - topic by ulrich

$
0
0
Hi all, I am on 13.10. Why is an implicit decimal or integer to char conversion with coalesce resulting in character set unicode? create volatile table vt_a (a decimal(3,0), b integer, c date) no primary index; create volatile table vt_b as (select coalesce(a,'What ever') as char_a, coalesce(b,'What ever') as char_b, coalesce(cast(c as varchar(10)),'What ever') as char_c from vt_a) with no data no primary index; show table vt_a; show table vt_b; results in 

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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