Chapter 7. ODBC Interface

Table of Contents
7.1. Introduction
7.2. Installation
7.3. Configuration Files
7.4. Windows Applications
7.5. ApplixWare
7.5.1. Configuration
7.5.2. Common Problems
7.5.3. Debugging ApplixWare ODBC Connections
7.5.4. Running the ApplixWare Demo
7.5.5. Useful Macros

7.1. Introduction

ODBC (Open Database Connectivity) is an abstract API that allows you to write applications that can interoperate with various RDBMS servers. ODBC provides a product-neutral interface between frontend applications and database servers, allowing a user or developer to write applications that are portable between servers from different manufacturers..

The ODBC API matches up on the backend to an ODBC-compatible data source. This could be anything from a text file to an Oracle or PostgreSQL RDBMS.

The backend access comes from ODBC drivers, or vendor-specific drivers that allow data access. psqlODBC, which is included in the PostgreSQL distribution, is such a driver, along with others that are available, such as the OpenLink ODBC drivers.

Once you write an ODBC application, you should be able to connect to any back-end database, regardless of the vendor, as long as the database schema is the same.

For example. you could have MS SQL Server and PostgreSQL servers that have exactly the same data. Using ODBC, your Windows application would make exactly the same calls and the back-end data source would look the same (to the Windows application).