Home Database Mysql Tutorial 安装 SQL Server 客户端驱动程序

安装 SQL Server 客户端驱动程序

Jun 07, 2016 pm 05:26 PM
server Install client driver

一、三种SQLServer客户端驱动程序1.操作系统集成的驱动程序 早期的驱动程序被称为Microsoft数据访问组件(MDAC),是Windows操作系统自带的驱动程序。16位的动态

一、三种 SQL Server 客户端驱动程序

1. 操作系统集成的驱动程序

  早期的驱动程序被称为 Microsoft 数据访问组件(MDAC),,是Windows操作系统自带的驱动程序。16位的动态链接库(DLL)为SQLSRV.dll,32位的DLL为SQLSRV32.dll 。

  自从 Vista 和 Windows Server 2008 开始,驱动程序被称 为Windows DAC 。



2. SQL Server Native Client

  SQL Server 2005 引入了 SQL Server Native Client,以支持SQL Server 2005的新特性。

wKiom1NPtdbiKzsAAAJRG_nCMiM943.jpg



  在安装 SQL Server 2012 或 SQL Server 工具时,将同时安装 SQL Server Native Client 11.0。 您还可以从 SQL Server 功能包网页获取 sqlncli.msi。 如果计算机上还安装了以前的 SQL Server Native Client 版本,则 SQL Server Native Client 11.0 将与早期版本并行安装。

  SQL Server Native Client 文件(sqlncli11.dll、sqlnclir11.rll 和 s11ch_sqlncli.chm)将安装到以下位置:%SYSTEMROOT%\system32\

  SQL Server Native Client 头文件和库文件(sqlncli.h 和 sqlncli11.lib)安装在以下位置:%PROGRAMFILES%\Microsoft SQL Server\110\SDK

  官方说明


  SQL Server Native Client 是在 SQL Server 2005 中引入的。它将 SQL OLE DB 访问接口和 SQL ODBC 驱动程序组合成一个本机的DLL 。除了兼容 MDAC 的功能之外,它还提供 SQL Server 2005 引入的新功能,例如多个活动结果集 (MARS)、用户定义数据类型 (UDT)、查询通知、快照隔离和 XML 数据类型支持。

  SQL Server Native Client 与 MDAC(或Windows DAC)的主要区别详见官网



3. ODBC Driver 11

  SQL Server 2012 引入了 Microsoft ODBC Driver 11 for SQL Server,以支持 SQL Server 2012的新特性。

wKioL1NPxxrBqB0yAAHExeQSA24368.jpg



  这是一个DLL,它包含对使用本机代码 API 连接到 Microsoft SQL Server 2005、2008、2008 R2 和 SQL Server 2012 的应用程序的运行时支持。应将 Microsoft ODBC Driver 11 for SQL Server 用于创建新的应用程序或增强需利用 SQL Server 2012 新增功能的现有应用程序。



二、安装 SQL Server Native Client

1. 使用安装光盘

wKiom1NPtPODKM0cAAO4_VzRfP8041.jpg


  如果没有安装光盘,可以下载 SQL Server Express 版本。

  SQL Server 2008 R2 SP2 Express 的下载地址 ?id=30438

  SQL Server 2012 SP1 Express 的下载地址 ?id=35579

  SQL Server 2014 Express 的下载地址 ?id=42299



2. 下载安装 Native Client

  SQL Server 2008 R2 功能包提供以下3个文件

(1)sqlncli_amd64.msi,用于x64平台,包含了64位和32位驱动程序,8.1 MB

(2)sqlncli_ia64.msi,用于安腾平台,11.1 MB

(3)sqlncli_x86.msi,用于x86平台,4.7 MB


  SQL Server 2008 R2 SP2 功能包的下载地址 ?id=30440

  SQL Server 2012 SP1 功能包的下载地址 ?id=35580

  SQL Server 2014 功能包( ?id=42295 )不再提供Native Client下载,而是建议安装 Microsoft ODBC Driver 11 for SQL Server 。

  下面以安装 SQL Server 2012 SP1 功能包中的 \x64\SQLNCLI.exe 为例。

wKiom1NPwwqjfHuwAABfMvB6Da8803.jpg


wKioL1NPwu_AaojRAAF7Gh2Oq8w277.jpg


wKiom1NPwxiRSsvhAAHs9Vsquc4935.jpg


wKioL1NPwu_gClHfAAFcWsQp0pA433.jpg


wKioL1NPwvDzvHs9AAEGMOvRA-4051.jpg


wKiom1NPxGOBiTidAAEv_qvVAqE521.jpg


wKioL1NPxDugVWCGAAE-DockmiQ914.jpg



三、安装 Microsoft ODBC Driver 11 for SQL Server

  Microsoft ODBC Driver 11 for SQL Server 的这个可再发行安装程序用于安装运行时所需的客户端组件,以利用 SQL Server 2012 的新增功能,它也可以安装开发使用 ODBC API 的应用程序所需的头文件。

  下载地址 https://www.microsoft.com/zh-cn/download/details.aspx?id=36434


wKioL1NPw8ehloQlAAF58IKxwhw448.jpg


wKiom1NPw_Dh1mFaAAHwvHqepDs125.jpg


wKioL1NPw8eiq3oAAAFayS1ka_g618.jpg


wKiom1NPw_Hw9AHsAAEFypnHSnM959.jpg


wKioL1NPw8iAKoa9AAEhfDQ8BkE879.jpg


wKiom1NPw_GgOBRqAAE84BAg8zI507.jpg


本文出自 “我们一起追过的MSSQL” 博客,谢绝转载!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Solution to the problem that Win11 system cannot install Chinese language pack Solution to the problem that Win11 system cannot install Chinese language pack Mar 09, 2024 am 09:48 AM

Solution to the problem that Win11 system cannot install Chinese language pack With the launch of Windows 11 system, many users began to upgrade their operating system to experience new functions and interfaces. However, some users found that they were unable to install the Chinese language pack after upgrading, which troubled their experience. In this article, we will discuss the reasons why Win11 system cannot install the Chinese language pack and provide some solutions to help users solve this problem. Cause Analysis First, let us analyze the inability of Win11 system to

Detailed introduction to the difference between NVIDIA graphics card driver Game ready and Studio Detailed introduction to the difference between NVIDIA graphics card driver Game ready and Studio Mar 14, 2024 am 10:00 AM

NVIDIA is a graphics card brand used by many users, that is, N card. However, some users found that there are Gameready and Studio when downloading the graphics card driver. Is there any difference? Let’s take a look at the detailed introduction of the difference between NVIDIA graphics card driver Gameready and Studio. Gameready is a product of NVIDIA graphics cards optimized for the gaming field, while the Studio series is aimed at professional users and optimizes the experience of using productivity software. These two series of graphics cards provide the best performance and stability for different application fields to meet users' needs for games and professional software. 2. The frequency of updates is different: gameready is updated frequently and will be released

UCM in Windows 11/10 - UCSI VPI device driver error UCM in Windows 11/10 - UCSI VPI device driver error Mar 24, 2024 am 09:50 AM

UCM-UCSIVPI is crucial to your computer because it is responsible for managing the USB Type-C port. When you encounter error messages for this driver in Device Manager, it will affect the normal working of your USB Type-C port. Therefore, it is crucial to resolve this issue promptly and this article will guide you on how to resolve the issues caused by this error message. UCM-UCSIACPI, Windows has stopped this device because it reported a problem (code 43). What is UCM—UCSIVPI device driver? Microsoft provides a driver that complies with the USB Type-C Connector System Software Interface (UCSI) specification for TPI transmission. If your system is configured

What should I do if Win11 fails to load the driver? What to do if the driver cannot be loaded on this device? What should I do if Win11 fails to load the driver? What to do if the driver cannot be loaded on this device? Apr 11, 2024 pm 05:01 PM

This article aims to solve the "The driver cannot be loaded on this device" error message that Win11 users encounter when trying to install or update drivers. By reading this article, Win11 users will be able to solve the "The driver cannot be loaded on this device" problem, thereby ensuring the stability of the system and the normal operation of the hardware device. Program Compatibility Assistant prompts: The driver cannot be loaded on this device. Method 1: 1. Press the [Win+X] key combination, or [right-click] click [Windows Start Logo] on the taskbar, and open the hidden menu item , select [Terminal Administrator]; 2. User Account Control window, do you want to allow this application to make changes to your device? Click【

What should I do if my Bluetooth peripheral device does not have a driver? [solved] What should I do if my Bluetooth peripheral device does not have a driver? [solved] Mar 13, 2024 pm 09:40 PM

When many users use the Bluetooth function, an error message box pops up: The driver for the bluetooth peripheral device cannot be found, and an exclamation mark is displayed when opening the device manager. What is going on? In response to this problem, today I will share with you how to deal with the problem that the driver for the bluetooth peripheral device cannot be found. How to solve the problem that the driver cannot be found for bluetooth peripheral devices? Right-click the Bluetooth icon in the lower right corner to display Bluetooth devices. Right-click the paired Bluetooth device and click Delete Device, and the Bluetooth peripheral device will disappear. There is an uninstalled "Bluetooth Peripheral Device" in "Device Manager"

Unable to install guest additions in VirtualBox Unable to install guest additions in VirtualBox Mar 10, 2024 am 09:34 AM

You may not be able to install guest additions to a virtual machine in OracleVirtualBox. When we click on Devices>InstallGuestAdditionsCDImage, it just throws an error as shown below: VirtualBox - Error: Unable to insert virtual disc C: Programming FilesOracleVirtualBoxVBoxGuestAdditions.iso into ubuntu machine In this post we will understand what happens when you What to do when you can't install guest additions in VirtualBox. Unable to install guest additions in VirtualBox If you can't install it in Virtua

What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? Mar 13, 2024 pm 10:22 PM

If you have successfully downloaded the installation file of Baidu Netdisk, but cannot install it normally, it may be that there is an error in the integrity of the software file or there is a problem with the residual files and registry entries. Let this site take care of it for users. Let’s introduce the analysis of the problem that Baidu Netdisk is successfully downloaded but cannot be installed. Analysis of the problem that Baidu Netdisk downloaded successfully but could not be installed 1. Check the integrity of the installation file: Make sure that the downloaded installation file is complete and not damaged. You can download it again, or try to download the installation file from another trusted source. 2. Turn off anti-virus software and firewall: Some anti-virus software or firewall programs may prevent the installation program from running properly. Try disabling or exiting the anti-virus software and firewall, then re-run the installation

How to disable Windows Update from automatically updating drivers in win11? How to disable Windows Update from automatically updating drivers in win11? Jun 26, 2024 am 12:18 AM

When you connect any new hardware device to the system, Windows will automatically try to install the driver for it. When the system's built-in driver package cannot be recognized, it will automatically try to connect to Windows Update to search and install the driver. Windows can also automatically update device drivers through Windows Update without user interaction. Although this function seems convenient, under certain circumstances, the feature of automatically updating drivers can cause trouble for users. For example, users' video workflows such as DaVinciResolve, Adobe Premiere, etc. need to use a specific old version of Nvidia Studio driver. As a result, Windows

See all articles