ODBC Connection

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Description

This example demonstrates how to interact with an ODBC database. To run the example, you have to setup the datasource depending on your operating system and to adapt the environment variables of the testsuite.

The example imports the ODBC Library which provides access to the database.


The following activities are performed:

  • Connect to the database
    Bild:ODBC EXAMPLE 2.JPG
  • Create table "DUMMY"
  • Insert some data into table "DUMMY"
  • Select data from table "DUMMY"
  • Drop the "DUMMY" table
  • Disconnect from the database

Bild:ODBC EXAMPLE 1.JPG

Download

Here is the testsuite to be loaded in expecco.
Please note: To run the testsuite you need at least expecco 1.7. Example_ODBC_Database.ets

Back to Examples.