验证 SQL Server 安装Validate a SQL Server Installation

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - 仅限 Windows 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - Windows only

SQL ServerSQL Server 发现报告可用于验证 SQL ServerSQL Server 的版本和在计算机上安装的 SQL ServerSQL Server 功能。The SQL ServerSQL Server discovery report can be used to verify the version of SQL ServerSQL Server and the SQL ServerSQL Server features installed on the computer. “已安装的 SQL ServerSQL Server 功能发现报告”显示了在本地服务器上安装的所有 SQL Server 2000 (8.x)SQL Server 2000 (8.x)SQL Server 2005 (9.x)SQL Server 2005 (9.x)SQL Server 2008SQL Server 2008SQL Server 2008 R2SQL Server 2008 R2SQL Server 2012 (11.x)SQL Server 2012 (11.x)SQL Server 2014 (12.x)SQL Server 2014 (12.x)SQL Server 2016 (13.x)SQL Server 2016 (13.x)SQL Server 2017 (14.x)SQL Server 2017 (14.x) 产品和功能的报告。The Installed SQL ServerSQL Server features discovery report displays a report of all SQL Server 2000 (8.x)SQL Server 2000 (8.x), SQL Server 2005 (9.x)SQL Server 2005 (9.x), SQL Server 2008SQL Server 2008, SQL Server 2008 R2SQL Server 2008 R2, SQL Server 2012 (11.x)SQL Server 2012 (11.x), SQL Server 2014 (12.x)SQL Server 2014 (12.x), SQL Server 2016 (13.x)SQL Server 2016 (13.x), and SQL Server 2017 (14.x)SQL Server 2017 (14.x) products and features that are installed on the local server. SQL ServerSQL Server 安装中心的 “工具” 页上提供 SQL ServerSQL Server 功能发现报告。The SQL ServerSQL Server features discovery report is available on the Tools page on the SQL ServerSQL Server Installation center.

运行 SQL ServerSQL Server 功能发现报告Run SQL ServerSQL Server features discovery report

使用“开始”菜单,依次指向“所有程序”、“MicrosoftMicrosoftSQL ServerSQL Server <Version Name>”、“配置工具”,然后单击“SQL ServerSQL Server 安装中心”,以启动 SQL ServerSQL Server 安装中心 。Launch the SQL ServerSQL Server Installation center, using the Start menu, point to All Programs, point to MicrosoftMicrosoftSQL ServerSQL Server <Version Name>, point to Configuration Tools, and click SQL ServerSQL Server Installation Center. 若要运行 SQL ServerSQL Server 功能发现报告,请在“SQL ServerSQL Server 安装中心”的左侧导航区域中单击“工具”,然后单击“已安装的 SQL ServerSQL Server 功能发现报告”。To run the SQL ServerSQL Server features discovery report, click Tools in the left-hand navigation area of SQL ServerSQL Server Installation Center, and then click Installed SQL ServerSQL Server features discovery report.

SQL ServerSQL Server 发现报告将保存到 %ProgramFiles%\MicrosoftMicrosoftSQL ServerSQL Server\nnn\Setup Bootstrap\Log\<last Setup Session>。The SQL ServerSQL Server discovery report is saved to %ProgramFiles%\MicrosoftMicrosoftSQL ServerSQL Server\nnn\Setup Bootstrap\Log\<last Setup Session>.

您还可以通过命令行生成发现报告。You can also generate the discovery report through the command line. 从命令提示符运行“Setup.exe /Action=RunDiscovery”。如果将“/q”添加到上述命令行,将不显示 UI,但是仍将在 %ProgramFiles%\MicrosoftMicrosoftSQL ServerSQL Server\nnn\Setup Bootstrap\Log\<last Setup Session> 中创建报告。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%\MicrosoftMicrosoftSQL ServerSQL Server\nnn\Setup Bootstrap\Log\<last Setup Session>.

另请参阅See also

查看和读取 SQL Server 安装程序日志文件View and Read SQL Server Setup Log Files