17.10 - Example: Character Cannot Be Represented in a Character Set - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Advanced SQL Engine International Character Set Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Configuration
User Guide
Publication ID
B035-1125-171K
Language
English (United States)

Suppose that a column declared as CHAR(2) CHARACTER SET UNICODE stores CAPITAL LETTER A WITH MACRON ( ).

The Teradata Database representation is as follows.

01 00 00 20
A  

Selection from a KanjiEUC session successfully returns encoded in code set 3 (cs3) of EUC. The KanjiEUC representation is as follows.

8F AA A7 20
A  

Assume that an ASCII session does a SELECT on the column containing the . The export width for the session is set to the expected defaults and the conversion options are set to ignore conversion.

Because the character cannot be represented in ASCII, it is converted to the ASCII error character 0x1A. The representation of the results in ASCII is as follows.

1A 20
not valid  

Selection from KanjiSJIS returns an error character.

1A 20 20 20
not valid      

Selection from KanjiEBCDIC also returns an error character.

3F 40 40 40 40 40
not valid