Validating ODBC connectivity (UNIX and Linux®)
After configuring the data source, validate connectivity.
About this task
To validate that you can use ODBC to connect to a system data source if you are using the unixODBC driver manager, use the isql interactive SQL query program. The isql program is installed on your system when you install the unixODBC driver manager. You can use the isql program to run SQL queries against both the system data source and any user data sources that you configure. For the procedure in this topic, it is assumed that you are using the unixODBC driver manager.
If you are using a driver manager other than unixODBC, consult your Netezza Performance Server system administrator to see whether
there is an SQL query program that is installed on your client system that you can use instead of
the isql program to validate ODBC connectivity and query Netezza Performance Server system data sources. The following
example uses the DataDirect driver manager. The example program in the
example directory is run, and the data source name, user name, and password are
entered as shown:
./example
DataDirect Technologies, Inc. ODBC Example Application.
Enter the data source name : NZSQL
Enter the user name : admin
Enter the password : password
Enter SQL statements (Press ENTER to QUIT)
SQL>Note: Do not use double quotation marks or semicolons in the password.