16.10 - Changing Collation Defaults - Teradata Database

Teradata Database Administration

Product
Teradata Database
Release Number
16.10
Published
April 2018
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
qjg1509413559832.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
ujp1472240543947

You can define the default collation sequence for a user with the COLLATION clause of the CREATE/MODIFY USER statement. Teradata Database provides a number of small but flexible sets of collations to choose from. For example, CHARSET_COLL produces a binary ordering based on the current character set; MULTINATIONAL collation can be tailored as needed.

If you do not define a default collation for the user, the automatic default is HOST (the collation that is compatible with the logon client). HOST collation gives you EBCDIC collation on mainframe-attached clients and ASCII collation for all others.

During a session, the user can override the user or current session default with the SQL statement SET SESSION COLLATION. For example:

SET SESSION COLLATION JIS_COLL;

For a full explanation of Teradata Database collating conventions and instructions on how to define your own sequences, see International Character Set Support.