Sample Output - ODBC Driver for Teradata

ODBC Driver for Teradata® User Guide

Product
ODBC Driver for Teradata
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-08-22
dita:mapPath
xbl1544831938754.ditamap
dita:ditavalPath
nkw1500504256726.ditaval
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

The ODBC sample program (tdxodbc) provides usage information with the "-h" option. The command "tdxodbc -h" displays usage of the sample program with details of various arguments that can be sent to this executable. For example:

# ./tdxodbc -h

USAGE: tdxodbc
tdxodbc -c SQLConnect [-d <dsn>] [-u <user name>] [-p <password>]
tdxodbc -c SQLDriverConnect [ -C <connection string> | [[-S <server name>] [-u <user name>] [-p <password>] [-T <driver name>]] ] [-t [-n <num of connections>]]
OPTIONS:
-c <connect type> [SQLConnect | SQLDriverConnect] default:SQLConnect
-d <dsn>
-u <user name>
-p <password>
-C <connection string> example: -C "DRIVER=Teradata; DBCNAME=MYCOP1; UID=dbc; PWD=dbc;"
-T <driver name> default: -T Teradata
-S <server name> example: -S MYCOP1
-h Display usage
-t connect test only
-n <num of connections> applicable only with -t