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.