16.10 - Character Sets - Teradata Database

Teradata Database SQL Fundamentals

Product
Teradata Database
Release Number
16.10
Published
June 2017
Content Type
Programming Reference
Publication ID
B035-1141-161K
Language
English (United States)
Last Update
2018-04-25

When making a request to the database, an SQL statement can be represented using any client character set that is available on the client and enabled in the database, including user-defined character sets.

Character Data

The system converts the SQL into UNICODE, and then converts any character literals from UNICODE to the data type of any column into which they are inserted.

If you enter data by way of a USING clause, the system stores the data based on the session character set, either LATIN, UNICODE, or KANJI1. As with any character data, if inserted into a character column, the USING data is implicitly translated to the character set of the receiving column.

If you create a character column, for example in a CREATE TABLE statement, and no character set is explicitly designated for the column, the column is created using the default character set.

Setting the Default Server Character Set

You can set the default server character set for:

  • A user in a CREATE or MODIFY USER
  • Profile members in a CREATE or MODIFY PROFILE statement
Upon upgrade to Teradata Database 14.10 and above from a pre-14.10 release, the server default character set is initialized based on the language support mode; LATIN for standard mode or UNICODE for Japanese mode.

Related Topics

For more information about:

  • Available character sets and enabling character set options, see International Character Set Support, B035-1125.
  • Notation used for characters is described in "Character Shorthand Notation In This Book" in “Appendix A Notation Conventions."