17.20 - Unwanted Export Truncation - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine International Character Set Support

Advanced SQL Engine
Teradata Database
Release Number
June 2022
Last Update
Content Type
User Guide
Publication ID
English (United States)

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.