17.10 - Example: KanjiEUC Form-of-Use - 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 table_1 has three columns named cunicode, csjis, and clatin with the respective corresponding repertoires UNICODE, KANJISJIS, and LATIN. Suppose further that the current client character set is KanjiEUC.

If you submit the following statement, then the data from all columns will arrive into the application in the KanjiEUC form-of-use.

   SELECT  cunicode, csjis, clatin FROM table_1;

Because of this, the application should use variables declared as mixed single-byte character/multibyte character strings in order to store the data from the Teradata Database.