SQLGetTypeInfo - ODBC Driver for Teradata

ODBC Driver for Teradata User Guide

Product
ODBC Driver for Teradata
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

The result set returned by SQLGetTypeInfo has an additional Teradata ODBC-specific column after the standard columns.

 

Table 32: Additional SQLGetTypeInfo Teradata ODBC-specific Columns

Column Name

Column Number (ODBC 3.X)

Data Type

Comments

TDODBC_ DATA_TYPE

20

Smallint not NULL

Teradata ODBC‑specific SQL data type code used by the ODBC driver. If multiple database types have the same standard ODBC SQL type, then the Teradata ODBC‑specific SQL data type code can be used to distinguish between the types. For an example, see “Number Data Types” on page 138.