The following reference is useful when working with ODBC on 64-bit systems:
- INFO: ODBC 64-Bit API Changes in MDAC 2.7, Article ID: 298678
http://support.microsoft.com/default.aspx?scid=kb;en-us;298678
- ODBC header files, specifically sql.h.
- README file delivered with ODBC Driver for Teradata. This file contains information about compilation and linking with ODBC Driver for Teradata on 64-bit systems. The file is located in the <InstallDir> on UNIX systems and available in the menu on Windows systems. On Apple OS X, the file is located at:
/Library/Application Support/teradata/client/<TTU version>/odbc/README.
When compiling 64-bit applications for ODBC Driver for Teradata on the Linux/UNIX system, it is important to use -DODBC64 to enable the 64-bit definitions in the Driver Manager include files.