SQL Server Native Client (ODBC)

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

Important

The SQL Server Native Client (often abbreviated SNAC) has been removed from SQL Server 2022 (16.x) and SQL Server Management Studio 19 (SSMS). The SQL Server Native Client (SQLNCLI or SQLNCLI11) and the legacy Microsoft OLE DB Provider for SQL Server (SQLOLEDB) are not recommended for new development. Switch to the new Microsoft OLE DB Driver (MSOLEDBSQL) for SQL Server or the latest Microsoft ODBC Driver for SQL Server going forward.

ODBC is a standard definition of an application programming interface (API) used to access data in relational or indexed sequential access method (ISAM) databases. SQL Server supports ODBC, via the SQL Server Native Client ODBC driver, as one of the native APIs for writing C and C++ applications that communicate with SQL Server.

SQL Server programs that are written using the SQL Server Native Client ODBC driver communicate with SQL Server through C function calls. The SQL Server-specific versions of the ODBC functions are implemented in the SQL Server Native Client ODBC driver. The driver passes SQL statements to SQL Server and returns the results of the statements to the application.

The SQL Server Native Client ODBC driver complies with the Microsoft Win32 ODBC 3.51 specification. The driver supports applications written using earlier versions of ODBC in the manner defined in the ODBC 3.51 specification.

In This Section

See Also

SQL Server Native Client Programming
Installing SQL Server Native Client