Creating a Custom Driver Name

ODBC Driver for Teradata® User Guide

prodname
ODBC Driver for Teradata
vrm_release
16.20
category
User Guide
featnum
B035-2526-108K

If you want to use your own custom driver name, then you will have to modify the odbcinst.ini file to include more driver names.

Below is a sample odbcinst.ini file with a custom driver name for a 16.20 driver. The bold font indicates what is added to the odbcinst.ini file for the custom driver.

[ODBC DRIVERS]
Teradata=Installed
Custom Driver=Installed 
[Teradata]
Driver=/opt/teradata/client/16.20/lib/tdataodbc_sb32.so
APILevel=CORE
ConnectFunctions=YYY
DriverODBCVer=3.51
SQLLevel=1
[Custom Driver] 
Driver=/opt/teradata/client/16.20/lib/tdataodbc_sb32.so  
APILevel=CORE 
ConnectFunctions=YYY 
DriverODBCVer=3.51 
SQLLevel=1
*** 32bit version: ***
[ODBC Drivers]
Teradata Database ODBC Driver 16.10=Installed

[Teradata Database ODBC Driver 16.10]
Description=Teradata Database ODBC Driver 16.10
Driver=/opt/teradata/client/16.10/lib/tdataodbc_sb32.so


*** 64bit version: ***
[ODBC Drivers]
Teradata Database ODBC Driver 16.10=Installed

[Teradata Database ODBC Driver 16.10]
Description=Teradata Database ODBC Driver 16.10
Driver=/opt/teradata/client/16.10/lib64/tdataodbc_sb64.so