Muokkaa

Jaa


Components of OLE DB Driver for SQL Server

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

Download OLE DB driver

OLE DB Driver for SQL Server contains the components described in the following tables.

OLE DB Driver 19 for SQL Server

Component Description
msoledbsql19.dll The dynamic-link library (DLL) file that contains all of the OLE DB Driver for SQL Server functionality.
msoledbsqlr19.rll The accompanying resource file for the OLE DB Driver for SQL Server library.
msoledbsql.h The OLE DB Driver for SQL Server header file that contains all of the new definitions needed in order to use OLE DB Driver for SQL Server. This header file replaces the sqloledb.h header file.

Note: You can reference msoledbsql.h and sqloledb.h in same program as long as sqloledb.h is defined first.
msoledbsql19.lib The library file needed to directly call the OpenSqlFilestream function that is part of the OLE DB Driver for SQL Server.

Note: If you do reference the msoledbsql19.lib file in your programming code, you need to make sure that the msoledbsql19.dll file is in your system path, and in the system path of the users that make use of your application.

OLE DB Driver 18 for SQL Server

Component Description
msoledbsql.dll The dynamic-link library (DLL) file that contains all of the OLE DB Driver for SQL Server functionality.
msoledbsqlr.rll The accompanying resource file for the OLE DB Driver for SQL Server library.
msoledbsql.h The OLE DB Driver for SQL Server header file that contains all of the new definitions needed in order to use OLE DB Driver for SQL Server. This header file replaces the sqloledb.h header file.

Note: You can reference msoledbsql.h and sqloledb.h in same program as long as sqloledb.h is defined first.
msoledbsql.lib The library file needed to directly call the OpenSqlFilestream function that is part of the OLE DB Driver for SQL Server.

Note: If you do reference the msoledbsql.lib file in your programming code, you need to make sure that the msoledbsql.dll file is in your system path, and in the system path of the users that make use of your application.

See also

Building Applications with OLE DB Driver for SQL Server