SESSION CHARSET Command and Character Sets | Basic Teradata Query - 17.00 - SESSION CHARSET Command - Basic Teradata Query

Basic Teradata® Query Reference

prodname
Basic Teradata Query
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2414-220K

The SESSION CHARSET command specifies which character set is in effect during a specific BTEQ invocation. For example, KANJIEUC_0U and KANJISJIS_0S are two of many possible choices of the SESSION CHARSET command for workstation platforms. If the character set is not specified, the default is ASCII.

Syntax


SESSION CHARSET syntax with character sets

where the following is true:

ASCII
Is the default character set for workstation platforms.
KANJIEUC_0U
Specifies the Kanji Extended UNIX Code character set.
KANJISJIS_0S
Specifies the combined JIS-x208 and JIS-x0201 character set developed by Microsoft.
n
Is a character set code in the range of 0 through 255. (118, for example, is the character set code for KANJIEUC_0U, and 119 is the character set code for KANJISJIS_0S.)