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

On Windows, custom driver names can be created using the registry.

Suppose the driver name Teradata is hardcoded in your application and you need to connect using the driver name Teradata rather than the default name of Teradata Database ODBC Driver 17.20.

  1. Open the registry.
    • For the 32-bit driver, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI.
    • For the 64-bit driver, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
  2. In the subdirectory ODBC Drivers, right-click and select New > String Value and name it Teradata.


  3. Right-click Teradata and select Modify.


  4. Type Installed in Value data.
  5. Right-click ODBCINST.INI, select New > Key and name it Teradata.


  6. For each string value field in Teradata ODBC Driver 17.20, create a corresponding value in the new custom key, Teradata. Under the new key, (Default), Description, Driver, and Setup appear as shown in the figure below.


Now you can create a new DSN with the driver name Teradata.

create new data source