Unwanted Export Truncation - Advanced SQL Engine - Teradata Database

International Character Set Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
xnf1627504141606.ditamap
dita:ditavalPath
xnf1627504141606.ditaval
dita:id
B035-1125
lifecycle
previous
Product Category
Teradata Vantage™

While the defaults are set to avoid this in most cases, it is possible for the EXPORT facility to produce unwanted data truncation.

Under the expected-defaults, this can only occur in the following circumstances:
  • During a KanjiEUC session where cs3 characters exist in a string without a corresponding number of cs0 characters.
  • During a KanjiEBCDIC session where a string exists with highly interspersed single-byte and multibyte characters.

The examples that follow illustrate how unwanted truncation can occur during the export process.

Note that you can avoid these types of truncation by using the CAST function. For information, see Teradata Vantage™ - Data Types and Literals, B035-1143.