17.20 - Teradata Extensions to the ODBC Standard - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide

Product
ODBC Driver for Teradata
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2022-06-21
dita:mapPath
uqj1639470627591.ditamap
dita:ditavalPath
nkw1500504256726.ditaval

This section describes extensions above and beyond ODBC that ODBC Driver for Teradata supports for the 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.