Chapter 20. ODBC インターフェース

Table of Contents
背景
Windows アプリケーション
Unix へのインストール
コンフィギュレーション ファイル
ApplixWare

Note: Background information originally by Tim Goeke

Tim Goeke による情報を元に作成されました。

ODBC (Open Database Connectivity) is an abstract API which allows you to write applications which 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 which are transportable between servers from different manufacturers.

ODBC (Open Database Connectivity) は抽象的な APIであり、これを使うと各種の RDBMSサーバに対して共通に利用できるような アプリケーションを書くことができます。 ODBC は、フロントエンドアプリケーションと データベースサーバーとの製品に依存しないインターフェースを供給 し、それはユーザーあるいは開発者が異なったサーバーの間で汎用性 の有るアプリケーションの作成を可能にしています。

背景

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 Postgres RDBMS.

ODBC API はバックエンド上 で ODBC 互換のデータソースと協調して動作する もので、テキスト形式のファイルからオラクル、あるいは PostgreSQL RDBMS などほとんどで使用することができます。

The backend access come from ODBC drivers, or vendor specific drivers that allow data access. psqlODBC is such a driver, along with others that are available, such as the OpenLink ODBC drivers.

バックエンドへのアクセスは、ODBC ドライバ、 あるいはデータにアクセスすることのできるベンダー固有のドライバから行われます。 psqlODBC はそのようなドライバの一つで、 他にも OpenLink ODBC ドライバといったものが利用できます。

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.

一度 ODBC アプリケーションを作成すれば、データベースのスキーマが同じである限り、 ベンダーの種類に関わらず、 どんな データベースにでも接続することができます。

For example. you could have MS SQL Server and Postgres servers which 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 app).

例えば、完全に同じデータを持つ MS SQL ServerPostgreSQL サーバーがあった場合、 ODBCを使えば、 Windows アプリケーションは、 それらをまったく同じ様に呼び出し、そしてそれらのデータソース は(Windows アプリケーションでは)同じ様に見えます。

Insight Distributors provides active and ongoing support for the core psqlODBC distribution. They provide a FAQ, ongoing development on the code base, and actively participate on the interfaces mailing list.

Insight Distributors は、 psqlODBC のコアな部分について活発な、 そして継続的なサポートを提供しています。 彼らは、FAQ や、コードベースで進行中の開発、 そして interfaces mailing list に活発に参加しています。