Microsoft Data Access Components Overview

The Microsoft Data Access Components are part of the Microsoft Data Access SDK, which is integrated into the Platform SDK. You can find the Microsoft Data Access Components under Microsoft Developer Network Library Edition\SDK Documentation\Platform SDK\Database and Messaging Services\Microsoft Data Access SDK. The Microsoft Data Access Components include the following:

ActiveX Data Objects (ADO)

Microsoft ActiveX Data Objects (ADO) is the strategic application programming interface (API) to data and information. ADO provides consistent, high-performance access to data and supports a variety of development needs, including the creation of front-end database clients and middle-tier business objects that use applications, tools, languages, or Internet browsers. ADO is designed to be the one data interface needed for single and multitier client/server and Web-based data-driven solution development. The primary benefits of ADO are ease of use, high speed, low memory overhead, and a small disk footprint.

ADO provides an easy-to-use interface to OLE DB, which provides the underlying access to data. ADO is implemented with minimal network traffic in key scenarios, and a minimal number of layers between the front end and data source—all to provide a lightweight, high-performance interface. ADO is easy to use because it uses a familiar metaphor—the COM automation interface, available from all leading Rapid Application Development (RAD) tools, database tools, and languages on the market today.

You can find the Microsoft ActiveX Data Objects Reference under Microsoft Developer Network Library Edition\Platform SDK\Database and Messaging Services\Microsoft Data Access SDK\Microsoft ActiveX Data Objects (ADO)\ADO Programmer's Reference.

OLE DB

OLE DB is the Microsoft strategic system-level programming interface to data across the organization. OLE DB is an open specification designed to build on the success of ODBC by providing an open standard for accessing all kinds of data. Whereas ODBC was created to access relational databases, OLE DB is designed for relational and nonrelational information sources, including mainframe ISAM/VSAM and hierarchical databases; e-mail and file system stores; text, graphical, and geographical data; custom business objects; and more.

OLE DB defines a collection of COM interfaces that encapsulate various database management system services. These interfaces enable the creation of software components that implement such services. OLE DB components consist of data providers, which contain and expose data; data consumers, which use data; and service components, which process and transport data (such as query processors and cursor engines). OLE DB interfaces are designed to help components integrate smoothly so that OLE DB component vendors can bring high-quality OLE DB components to market quickly. In addition, OLE DB includes a bridge to ODBC to enable continued support for the broad range of ODBC relational database drivers available today.

You can find the Microsoft OLE DB Reference under Microsoft Developer Network Library Edition\Platform SDK\Database and Messaging Services\Microsoft Data Access SDK\OLE DB\OLE DB Programmer's Reference.

Open Database Connectivity (ODBC)

The Microsoft Open Database Connectivity (ODBC) interface is an industry standard and a component of Microsoft® Windows® Open Services Architecture (WOSA). The ODBC interface makes it possible for applications to access data from a variety of database management systems (DBMSs). ODBC permits maximum interoperability—an application can access data in diverse DBMSs through a single interface. Furthermore, that application will be independent of any DBMS from which it accesses data. Users of the application can add software components called drivers, which create an interface between an application and a specific DBMS.

You can find the Microsoft ODBC Reference under Microsoft Developer Network Library Edition\Platform SDK\Database and Messaging Services\Microsoft Data Access SDK\ODBC\ODBC Programmer's Reference.