Choosing an API

The general-purpose APIs recommended for use in new applications using Microsoft® SQL Server™ 7.0 are:

There are several factors to consider when selecting which general-purpose APIs to use in a SQL Server application:

The following table maps the general-purpose database APIs supported by SQL Server to the issues listed earlier.




API



Maturity



Overhead

Degree of developer control

SQL Server 7.0 feature support
OLAP Services feature support

Language support
ADO Emerging Object Model over OLE DB Moderate Most Yes Microsoft Visual Basic®
Microsoft Visual C++®
Microsoft Visual J++®
OLE DB Emerging Native High All Yes Visual C++
ODBC Existing Native High All No Visual C++
RDO Existing Object Model over ODBC Moderate Most No Visual Basic
Visual J++
DAO Legacy Object Model over ODBC Low Limited No Visual Basic
Visual C++
ESQL Legacy Hosted over DB-Library Low Limited No Visual C++
COBOL
DB-Library for C Legacy Native High Limited No Visual C++
DB-Library for Visual Basic Legacy Object Model over DB-Library Low Limited No Visual Basic

Additional APIs

SQL Server also supports a number of interfaces that allow applications to make full use of all SQL Server features:

See Also

Overview of Building SQL Server Applications

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.