Change Collation Defaults | Teradata Vantage - Changing Collation Defaults - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
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 International Character Set Support, B035-1125.