The Example application
- Last Updated: January 15, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
The driver installation includes an ODBC application called Example that can be used for:
- Testing any type of SQL statement
- Testing database connections
- Verifying your database environment
It can also be used to demonstrate ODBC function calls, including the following:
|
|
|
The Example application can be built using the files located in the \samples\examples directory of the DataDirect for ODBC Drivers installation directory.
Note:
- For Windows, you can build the Windows app for ANSI and Unicode.
- For UNIX/Linux, instructions for building the Example application are contained inside the file example.mak, which can be read with a text editor.
To use the Example application:
The results of your query are displayed. If example is unable to connect, the appropriate error message is returned.