ODBC Driver for Teradata supports the use of DECIMAL data types with a precision of 38. An application can determine the maximum precision by calling the ODBC API function SQLGetTypeInfo.
ODBC Driver for Teradata supports 19-digit precision for BIGINT data. The BIGINT data type has an exact numeric value with precision 19 and scale 0. The BIGINT is signed and has a range between -263 ≤ n ≤ 263 - 1 or from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. It includes most (but not all) values with a decimal precision of 19.