Truncation Examples - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Consider a string containing a half-square Katakana and a Kanji character ア 山 (the half-square Katakana 'a' followed by the Kanji 'yama' for mountain) stored in a column declared as CHAR(3) CHARACTER SET KANJISJIS. The VantageCloud Lake representation of the string is:

B1 8E 52

If the column is exported from a UTF8 session, the export width rule is n (n character in the column produces n bytes as output), the following data is exported (observe that ア expanded to three bytes, so truncation at the logical character boundary occurred between ア and 山 so no padding is required).

EF BD B1