DBConnect API Tutorials

The tutorials section is designed to give an overview on how to use the DBConnect API.

New examples will be added as they become available. All source code examples in the tutorials section are available in the examples directory of the DBConnect API source code.

If you find any errors in the examples then please do not hesitate to email me at jingram@rogueware.org as I would like to keep the examples as accurate as possible.

The following examples are available via the sub naviation of the tutorials section:

  • Basic Select:
  • Perform a SQL qeury against a database
  • Transaction:
  • Basic transaction handling
  • Connection:
  • Stale connection handling and recovery
  • DB2:
  • DB2 types, parameters and functions calling
  • MySQL:
  • MySQL types, parameters and functions calling
  • PostgreSQL:
  • PostgreSQL types, parameters and functions calling
  • mSQL:
  • mSQL types, parameters and functions calling