Sample Output

ODBC Driver for Teradata® User Guide

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

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