skip to main content
Getting Started : Configuring and Connecting on UNIX and Linux : Testing the Connection
  

Try DataDirect Drivers Now

Testing the Connection

The driver installation includes an ODBC application called example that can be used to connect to a data source and execute SQL. The application is located in the installation_directory/samples/example directory.
To run the program after setting up a data source in the odbc.ini, enter example and follow the prompts to enter your data source name, user name, and password. If successful, a SQL> prompt appears and you can type in SQL statements such as SELECT * FROM table. If example is unable to connect, the appropriate error message is returned.