The demoodbc Application

DataDirect provides a simple C application, named demoodbc, that is useful for:

  • Executing SELECT * FROM emp, where emp is a database table. The scripts for building the emp database tables (one for each supported database) are in the demo subdirectory in the product installation directory.
  • Testing database connections.
  • Creating reproducibles.
  • Persisting data to an XML data file.

The demoodbc application is installed in the /samples/demo subdirectory in the product installation directory. Refer to demoodbc.txt or demoodbc64.txt in the demo directory for an explanation of how to build and use this application.