gpt4 book ai didi

sql-server - 查找文件夹安装的 sql 版本(!)?

转载 作者:行者123 更新时间:2023-12-03 06:35:03 24 4
gpt4 key购买 nike

我看过这个链接,但没有帮助: How can I determine installed SQL Server instances and their versions?

这是我的问题: enter image description here

我想查看我的计算机上安装了哪些版本的 sql。

如果我正在运行查询并输入:

select @@version

它告诉我正在运行的线程版本。 (我不想要)

我想查看所有版本 - 如果已安装!

示例:一台计算机可以有 sql 2000, 2005, 2008 ,2008R2

我已为我的 sql server 文件夹附加了打印屏幕。

我知道

80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008

然而,这不是规则。

自 2008 年以来,创建了 80 和 90。

似乎查找安装的版本的唯一方法(除了 regedit)是通过 Sql Server 配置管理器。

enter image description here

问题:

1)是否可以仅通过文件系统来检测我安装的版本?

2) 有没有其他方法(除了注册表之外)来查看安装的 SQL 版本?

3) 我读到 mssql.1 用于引擎。 MSSQL10.SQLEXPRESS 怎么样?为什么它没有 mssql.4 编号? MSDN 说它是已安装组件的顺序 ID。

最佳答案

SQL Server 2008 Discovery Report

How can i tell what SQL Server features and version do I have installed? This question has been asked a lot recently. Starting in SQL Server 2008, we added a SQL Server discovery report as an option on the Tools page on the Installation Center. When you click on the link below, SQL Server will be started to discover the SQL Server features.

The SQL Server Discovery Report is saved to %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Log\

Options:

You can also generate the Discovery report through the command line. Run “Setup.exe /Action=RunDiscovery” from a command prompt If you add “/q” to the command line above no UI will be shown, but the report will still be created in %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Log\20091112_082147.

引用:

关于sql-server - 查找文件夹安装的 sql 版本(!)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9063872/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com