Change Collation Defaults | Teradata Vantage - Changing Collation Defaults - Advanced SQL Engine - Teradata Database

Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
upb1600054424724.ditamap
dita:ditavalPath
upb1600054424724.ditaval
dita:id
B035-1093
lifecycle
previous
Product Category
Teradata Vantageā„¢

You can define the default collation sequence for a user with the COLLATION clause of the CREATE/MODIFY USER statement. Vantage 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 collating conventions and instructions on how to define your own sequences, see Teradata Vantageā„¢ - Advanced SQL Engine International Character Set Support, B035-1125.