17.10 - Character Truncation Rules - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

The following rules apply to character strings.

IF the string is cast in this mode … THEN it is truncated of …
ANSI trailing pad character spaces to achieve the desired length. Truncation of other characters, or part of a multibyte character, returns an error.
Teradata trailing characters to achieve the desired length.

Truncation on Kanji1 character data types containing multibyte characters might result in truncating one byte of the multibyte character.