15.00 - Character Sets - Teradata Database

Teradata Database SQL Fundamentals

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1141-015K

Character Sets

Character Data

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.

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
  • Note: 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 on …

    See …

    available character sets and enabling character set options

    International Character Set Support

    notation used for characters is described in

    “Character Shorthand Notation In This Book.”