16.10 - ANSI-Latin1 (1252) Code Page - Access Module

Teradata Tools and Utilities Access Module Reference

prodname
Access Module
vrm_release
16.10
created_date
July 2017
category
Programming Reference
featnum
B035-2425-077K

When the ASCII character set is specified, the Teradata Access Module for OLE DB uses the code page of the system locale. If the code page of the system locale is one in which some characters consume more than one byte, the Teradata Access Module for OLE DB can return longer character fields during execution of a load job than if the 1252 code page were used. Teradata OleLoad generates load job scripts that account for this change.

Update any existing scripts. For example, a system locale of “Chinese (Taiwan)” has a code page of 950, which has a maximum character size of 2 B. If existing FastLoad job scripts using the ASCII session character set to load character data from the Teradata Access Module for OLE DB, update the scripts to account for the fact that there may be 2 B per character. For example, double the value of n in CHAR(n) and VARCHAR(n) fields located in the CREATE TABLE and DEFINE statements included in the FastLoad job scripts.