SQL Server Architecture

Choosing an API

The general-purpose application programming interfaces (APIs) recommended for use in new applications that use Microsoft® SQL Server™ 2000 are:

Selecting a General-Purpose API

Several factors should be considered when you select a general-purpose API to use in a SQL Server application:

The following table maps the general-purpose database APIs supported by SQL Server to the factors presented in the preceding list.





API




Maturity




Overhead


Degree of developer control
SQL Server 2000 feature support SQL Server 2000 XML Support
OLAP Services feature support



Language support
ADO Existing Object Model over OLE DB Moderate Most Yes Yes Microsoft Visual Basic®
Microsoft Visual C++®
Microsoft Visual J++®
URL Emerging Streams over OLE DB Low Limited Yes No HTML

Active Server Pages (ASP)

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

Additional APIs

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

See Also

Building SQL Server Applications Overview