Share via


System Requirements for SQL Server Native Client

To use data access features of SQL Server such as MARS, you must have the following software installed:

  • SQL Server Native Client on your client.

  • An instance of SQL Server on your server.

SQL Server Native Client requires Windows Installer 3.0. Windows Installer 3.0 is already installed on Microsoft Windows operating systems. For all other platforms you need to explicitly install it. For more information, see Windows Installer 3.0 Redistributable.

Note

Make sure you log on with administrator privileges before installing this software.

Operating System Requirements

For a list of operating systems that support Native Client, see Support Policies for SQL Server Native Client.

SQL Server Requirements

To use SQL Server Native Client to access data in SQL Server databases, you must have an instance of SQL Server installed.

SQL Server 2012 supports connections from all versions of MDAC, Windows Data Access Components, and all versions of SQL Server Native Client. When an older client version connects to SQL Server, server data types not known to the client are mapped to types that are compatible with the client version. For more information, see Data Type Compatibility for Client Versions, later in this topic.

Cross-Language Requirements

The English-language version of SQL Server Native Client is supported on all localized versions of supported operating systems. Localized versions of SQL Server Native Client are supported on localized operating systems that are the same language as the localized SQL Server Native Client version. Localized versions of SQL Server Native Client are also supported on English-language versions of supported operating systems as long as the matching language settings are installed.

For upgrades:

  • English-language versions of SQL Server Native Client can be upgraded to any localized version of SQL Server Native Client.

  • Localized versions of SQL Server Native Client can be upgraded to localized versions of SQL Server Native Client of the same language.

  • Localized version of SQL Server Native Client can be upgraded to the English-language version of SQL Server Native Client.

  • Localized versions of SQL Server Native Client cannot be upgraded to localized SQL Server Native Client versions of a different localized language.

Data Type Compatibility for Client Versions

SQL Server and SQL Server Native Client map new data types to older datatypes that are compatible with down-level clients, as shown in the table below.

OLE DB and ADO applications can use the DataTypeCompatibility connection string keyword with SQL Server Native Client to operate with older data types. When DataTypeCompatibility=80, OLE DB clients will connect using the SQL Server 2005 tabular data stream (TDS) version, rather than the TDS version. This means that for SQL Server 2008 and later data types, down-level conversion will be performed by the server, rather than by SQL Server Native Client. It also means that the features available on the connection will be limited to the SQL Server 2005 feature set. Attempts to use new datatypes or features are detected as early as possible on API calls and errors are returned to the calling application, rather than attempting to pass invalid requests to the server.

There is no DataTypeCompatibility control for ODBC.

IDBInfo::GetKeywords will always return a keyword list that corresponds to the server version on the connection and is not affected by DataTypeCompatibility.

Data type

SQL Server Native Client

SQL Server 2005

SQL Server Native Client 11.0

SQL Server 2012

Windows Data Access Components, MDAC, and

SQL Server Native Client OLE DB applications with DataTypeCompatibility=80

CLR UDT (<= 8Kb)

udt

Udt

Varbinary

varbinary(max)

varbinary

varbinary

Image

varchar(max)

varchar

varchar

Text

nvarchar(max)

nvarchar

nvarchar

Ntext

xml

xml

xml

Ntext

CLR UDT (> 8Kb)

udt

varbinary

Image

date

date

varchar

Varchar

datetime2

datetime2

varchar

Varchar

datetimeoffset

datetimeoffset

varchar

Varchar

time

time

varchar

Varchar

See Also

Concepts

Installing SQL Server Native Client

Other Resources

SQL Server Native Client Programming