Creating a Custom Driver Name - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide

Product
ODBC Driver for Teradata
Release Number
16.20
Published
August 2020
Language
English (United States)
Last Update
2020-08-25
dita:mapPath
fxv1527114222338.ditamap
dita:ditavalPath
Audience_PDF_product_legacy_odbc_include.ditaval
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

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