Check if SQL Server Client Is Installed

血红的双手。 提交于 2019-12-29 06:43:06

问题


How can one check to see if the SQL Server Client driver is installed? And is it also possible to determine the version?


回答1:


Go to->Run->cmd->type regedit.exe and you see the registry under the ODBC folder:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\
    ODBC Drivers\SQL Server

I also find a complete answer about this issue, (based on MySQL, but basically is the same thing).

Edit later: according to your comment you have installed the 2005 version of SQL Server:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Microsoft SQL Native Client\CurrentVersion

Anyway I also show you how you can see the 2008 version to see the differences between the two versions.

For SQL Server 2008/R2:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Microsoft SQL Server\SQLNCLI10\CurrentVersion

For SQL Server 2012:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Microsoft SQL Server\SQLNCLI11\CurrentVersion 



回答2:


This can be found by running odbcad32.exe.

From the Microsoft Support site:

To determine the version of SQL Server Native Client, use one of the following methods:

Method 1: On the system where you want to find the version of Native Client, start the ODBC Administrator (odbcad32.exe), and then check the Version column under the Drivers tab.

On 64-bit systems, also check odbcad64.exe.



来源:https://stackoverflow.com/questions/10499643/check-if-sql-server-client-is-installed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!