title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Programming |
Use these resources to understand SQL Server Native Client, a stand-alone data access API, used for both OLE DB and ODBC. |
markingmyname |
maghan |
03/14/2017 |
sql |
native-client |
reference |
|
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
Important
[!INCLUDEsnac-removed-oledb-and-odbc]
[!INCLUDEssNoVersion] Native Client is a stand-alone data access application programming interface (API), used for both OLE DB and ODBC, that was introduced in [!INCLUDEssVersion2005]. [!INCLUDEssNoVersion] Native Client combines the SQL OLE DB provider and the SQL ODBC driver into one native dynamic-link library (DLL). It also provides new functionality above and beyond that supplied by the Windows Data Access Components (Windows DAC, formerly Microsoft Data Access Components, or MDAC). [!INCLUDEssNoVersion] Native Client can be used to create new applications or enhance existing applications that need to take advantage of features introduced in [!INCLUDEssVersion2005], such as multiple active result sets (MARS), user-defined data types (UDT), query notifications, snapshot isolation, and XML data type support.
Note
For a list of the differences between [!INCLUDEssNoVersion] Native Client and Windows DAC, plus information about issues to consider before updating a Windows DAC application to [!INCLUDEssNoVersion] Native Client, see Updating an Application to SQL Server Native Client from MDAC.
The [!INCLUDEssNoVersion] Native Client ODBC driver is always used in conjunction with the ODBC Driver Manager supplied with Windows DAC. The [!INCLUDEssNoVersion] Native Client OLE DB provider can be used in conjunction with OLE DB Core Services supplied with Windows DAC, but this is not a requirement; the choice to use Core Services or not depends on the requirements of the individual application (for example, if connection pooling is required).
ActiveX Data Object (ADO) applications may use the [!INCLUDEssNoVersion] Native Client OLE DB provider, but it is recommended to use ADO in conjunction with the DataTypeCompatibility connection string keyword (or its corresponding DataSource property). When using the [!INCLUDEssNoVersion] Native Client OLE DB provider, ADO applications may exploit those new features introduced in [!INCLUDEssVersion2005] that are available via the [!INCLUDEssNoVersion] Native Client via connection string keywords or OLE DB properties or [!INCLUDEtsql]. For more information about the use of these features with ADO, see Using ADO with SQL Server Native Client.
[!INCLUDEssNoVersion] Native Client was designed to provide a simplified method of gaining native data access to SQL Server using either OLE DB or ODBC. It is simplified in that it combines OLE DB and ODBC technologies into one library, and it provides a way to innovate and evolve new data access features without changing the current Windows DAC components, which are now part of the Microsoft Windows platform.
While [!INCLUDEssNoVersion] Native Client uses components in Windows DAC, it is not explicitly dependent on a particular version of Windows DAC. You can use [!INCLUDEssNoVersion] Native Client with the version of Windows DAC that is installed with any operating system supported by [!INCLUDEssNoVersion] Native Client.
SQL Server Native Client
Lists the significant new [!INCLUDEssNoVersion] Native Client features.
When to Use SQL Server Native Client
Discusses how [!INCLUDEssNoVersion] Native Client fits in with Microsoft data access technologies, how it compares to Windows DAC and ADO.NET, and provides pointers for deciding which data access technology to use.
SQL Server Native Client Features
Describes the features supported by [!INCLUDEssNoVersion] Native Client.
Building Applications with SQL Server Native Client
Provides an overview of [!INCLUDEssNoVersion] Native Client development, including how it differs from Windows DAC, the components that it uses, and how ADO can be used with it.
This section also discusses [!INCLUDEssNoVersion] Native Client installation and deployment, including how to redistribute the [!INCLUDEssNoVersion] Native Client library.
System Requirements for SQL Server Native Client
Discusses the system resources needed to use [!INCLUDEssNoVersion] Native Client.
SQL Server Native Client (OLE DB)
Provides information about using the [!INCLUDEssNoVersion] Native Client OLE DB provider.
SQL Server Native Client (ODBC)
Provides information about using the [!INCLUDEssNoVersion] Native Client ODBC driver.
Finding More SQL Server Native Client Information
Provides additional resources about [!INCLUDEssNoVersion] Native Client, including links to external resources and getting further assistance.
SQL Server Native Client Errors
Contains topics about runtime errors associated with [!INCLUDEssNoVersion] Native Client.
Updating an Application from SQL Server 2005 Native Client
ODBC How-to Topics
OLE DB How-to Topics