Example: Data Returned in ASCII - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Consider a BTEQ session with the ASCII client character set.

The data from the cunicode, csjis, and clatin columns are returned to the BTEQ session in ASCII, as illustrated by the following figure.

Your application must declare its variables as mixed single-byte strings to store the data from the database.


BTEQ session (ASCII character set)

Because the ASCII repertoire is much smaller than the repertoires of cunicode or csjis columns, characters may be converted to error characters on input, or the transaction may abort.