阅读背景:

如何获取本地机器上所有MS SQL Server实例的列表?

来源:互联网 

This seems to be a fairly common question, but none of the answers I've seen have been particularly satisfactory. I want to get a list of the names of the MS SQL Server instances installed on the local machine, regardless of whether they're started or not. For the purposes of this discussion, I'm OK with just finding instances of SQL 2005 and newer; I can handle 2000 and earlier using "legacy" methods (i.e., look in the registry). What I do require is that it not be dependent on the SQL Server Browser service (it's disabled by default nowadays), and that 64-bit instances are returned even when the app is 32-bit.This seems to be a fairly common question, but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: