Intro

Different aspects of databases and DB APIs (DataBase Application Programming Interface) may be called different things depending on the situation. This is especially true if multiple DB APIs are used. EG:

All of the above DB APIs eventually talk to the DBMS using SQL (See also my section on SQL.). Some of the DBMSs also allow the DB API to be skipped altogether by allowing SQL code to be embedded directly into the code (usually in C or COBOL). Note that the DB API is also used to examine and utilize data returned to the DB API via SQL.

DBMS APIs

Different DBMSs (DataBase Management Systems) often have their own proprietary APIs by which a developer can talk in code to the DBMS. EG:

It is possible to develop directly in the DB API. However the DB API is frequently a database CLI (Call Level Interface). It is more common, and easier, to develop using a database object API instead of a CLI.

Database Connection APIs

In addition, the major DBMS also support at least one standard API. Here are three standard DB APIs:

Database Object APIs

What I refer to as "Database Object APIs" are the objects manipulated by developers to access data in databases.

Microsoft has a slew of database object APIs. (I'm sure Sun and other companies have all sorts of but I've worked primarily with Microsoft products.) Here they are in historical order:

DAO Object Model

DAO (Data Access Objects). Especially for JET. Microsoft actually has an object model called ODBCDirect which is just like DAO except that it can access ODBC.

RDO Object Model

RDO (Remote Data Objects). Especially for ODBC.

ADO Object Model

ADO (ActiveX Data Objects). Used to access OLE DB Data Providers. Note that since OLE DB can access JET and ODBC, this is the primary Microsoft database object API.

2007-10-05 19:27:30Z