Installing the OLE DB Provider for SQL Server

The Microsoft® OLE DB Provider for SQL Server (SQLOLEDB) is installed automatically when you install Microsoft SQL Server™. If custom installation is done, the provider is installed when any of the following components are selected in the custom installation:

·    Server Components

·    Management Tools

·    Client Connectivity

SQLOLEDB Files

Files necessary to develop SQLOLEDB consumers are installed when the appropriate option is selected during custom setup. Several SQLOLEDB sample applications ship with SQL Server. The samples implement simple SQLOLEDB consumers in C++.

Directory File Description
\Program files\
Common files\System\
Ole db
Sqloledb.dll Dynamic-link library that implements the SQLOLEDB provider
\Mssql7\DevTools\Include Oledb.h OLE DB SDK header file for OLE DB providers and consumers
  Sqloledb.h Header file used for developing SQLOLEDB consumers
\Mssql7\DevTools\Lib Oledb.lib Library file used for developing SQLOLEDB consumers

OLE DB SDK

The primary source of information for OLE DB is the OLE DB Programmer’s Reference Version 2.0 available with the OLE DB Software Development Kit (SDK). Both the SDK and Programmer’s Reference can be downloaded from the Microsoft Web site at http://www.microsoft.com/data.

SQL Server does not install the OLE DB SDK. To develop OLE DB applications, you need the OLE DB SDK from the Microsoft Web site.

See Also

Overview of Installing SQL Server

  


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