Teradata Extensions to the ODBC Standard - ODBC Driver for Teradata

ODBC Driver for Teradata User Guide

Product
ODBC Driver for Teradata
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-11
dita:mapPath
smj1488824663219.ditamap
dita:ditavalPath
Audience_PDF_product_legacy_odbc_include.ditaval
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

This section describes extensions above and beyond ODBC that ODBC Driver for Teradata supports for Teradata Database. The symbolic names associated with the extensions are defined in the tdsql.h file in <InstallDir> /include.

When using driver-defined attributes it is necessary to indicate the type of attribute to the Driver Manager so it can properly pass the value to or from the driver. This is typically done by setting the BufferLength argument ODBC API function call getting or setting the value. For example, BufferLength should be SQL_IS_SMALLINT for a Teradata ODBC column attribute like SQL_DESC_TD_ODBC_TYPE.