17.20 - Creating a Custom Driver Name - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide

Product
ODBC Driver for Teradata
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2022-06-21
dita:mapPath
uqj1639470627591.ditamap
dita:ditavalPath
nkw1500504256726.ditaval

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 17.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/17.20/lib/tdataodbc_sb32.so
APILevel=CORE
ConnectFunctions=YYY
DriverODBCVer=3.51
SQLLevel=1
[Custom Driver] 
Driver=/opt/teradata/client/17.20/lib/tdataodbc_sb32.so  
APILevel=CORE 
ConnectFunctions=YYY 
DriverODBCVer=3.51 
SQLLevel=1
*** 32bit version: ***
[ODBC Drivers]
Teradata Database ODBC Driver 17.20=Installed

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


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

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