Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.56 KB

File metadata and controls

34 lines (28 loc) · 2.56 KB
title Components
description Learn about components of the SQL Server Native Client such as sqlncli11.dll, sqlnclir11.rll, sqlncli.h, and sqlncli11.lib.
author markingmyname
ms.author maghan
ms.date 06/14/2024
ms.service sql
ms.subservice native-client
ms.topic reference
helpviewer_keywords
SQL Server Native Client ODBC driver, about SQL Server Native Client ODBC driver
data access [SQL Server Native Client], components
components [SQL Server Native Client]
SQLNCLI, about SQL Server Native Client

Components of SQL Server Native Client

[!INCLUDE SQL Server]

Important

[!INCLUDEsnac-removed-oledb-and-odbc]

[!INCLUDEssNoVersion] Native Client contains the following components:

Component Description
sqlncli11.dll The dynamic-link library (DLL) file that contains all of the [!INCLUDEssNoVersion] Native Client functionality. This includes the [!INCLUDEssNoVersion] Native Client OLE DB provider and the [!INCLUDEssNoVersion] Native Client ODBC driver.
sqlnclir11.rll The accompanying resource file for the [!INCLUDEssNoVersion] Native Client library.
sqlncli.h The [!INCLUDEssNoVersion] Native Client header file that contains all of the new definitions needed in order to use [!INCLUDEssNoVersion] Native Client. This header file replaces both the odbcss.h and the sqloledb.h header files.

Note: You cannot reference sqlncli.h and odbcss.h in the same program, but you can reference sqlncli.h and sqloledb.h in same program as long as sqloledb.h is defined first.
sqlncli11.lib The library file needed to directly call the bcp utility functions that are part of the [!INCLUDEssNoVersion] Native Client ODBC driver.

Note: If you do reference the sqlncli11.lib file in your programming code, you need to make sure that the sqlncli11.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 SQL Server Native Client