ODBC C Character Data Types| ODBC Driver for Teradata - ODBC C Character Data Types - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
ODBC Driver for Teradata
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-18
dita:mapPath
uqj1639470627591.ditamap
dita:ditavalPath
nkw1500504256726.ditaval
dita:id
ktb1507075385726
Product Category
Teradata Tools and Utilities

ODBC Driver for Teradata conforms to ODBC 3.52 specifications and supports SQL_C_CHAR and SQL_C_WCHAR C data types as listed here:

ODBC C Data Type Windows Platform UNIX Platforms Apple macOS
SQL_C_CHAR Character string encoded in the code page of the application

(Windows application code page)

Character string encoded in the code page of the application

(ODBC application code page)

Character string encoded in the code page of the application (current locale LC_TYPE category)
SQL_C_WCHAR Unicode (UTF16) character string Unicode (UTF8) character string Unicode (UTF32) character string

An ODBC application can pass and retrieve character data encoded in the application code page (SQL_C_CHAR) or Unicode (SQL_C_WCHAR) character data to or from ODBC Driver for Teradata. ODBC Driver for Teradata converts the character string to or from the session character set when required. For more information, see Conversion and Error Handling.