When to use the SQL Native Client

.Net applications

Do not use the SQL Native Client for .Net applications. Instead use the .NET Framework Data Provider for SQL Server (SqlConnection).

COM and all other than .Net applications

Use the SQL Native Client if you are accessing SQL Server 2005 or later and need the new features of SQL Server 2005 or later such as MARS, encryption, XML data type etc. Continue use your current provider (OLE DB / ODBC through the MDAC package) if you are not connecting to SQL Server 2005 or later or if you are connecting to SQL Server 2005 or later but are not using any of the new SQL Server 2005 or later features.


OLE DB and ODBC does not support some of the new features in SQL Server 2005 and later. The managed .Net providers does. The SQL Native Client can be seen as a solution to have access to the new SQL Server features from native (non .Net) code. There are no other benefits from using it.

MDAC and SQL Native Client, read this msdn article >>


Articlesread all »

Not what you were looking for?

Browse the other articles in the knowledge base!

Or search kb articles, Q&A content and every connection string here.

Start over in the connection string reference or check out the Q&A forums where you can ask your own questions!

This page is the archive of this page:https://www.connectionstrings.com/sql-native-client-use/, the copyright belongs to the original page!
aspxhtmlmobile0898kendouidemosaspxhtml docs