下载 SQL Server Management Studio (SSMS)Download SQL Server Management Studio (SSMS)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance 是Azure Synapse AnalyticsAzure Synapse AnalyticsyesAzure Synapse AnalyticsAzure Synapse Analytics适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance 是Azure Synapse AnalyticsAzure Synapse AnalyticsyesAzure Synapse AnalyticsAzure Synapse Analytics

SQL Server Management Studio (SSMS) 是一种集成环境,用于管理从 SQL Server 到 Azure SQL 数据库的任何 SQL 基础结构。SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. SSMS 提供用于配置、监视和管理 SQL Server 和数据库实例的工具。SSMS provides tools to configure, monitor, and administer instances of SQL Server and databases. 使用 SSMS 部署、监视和升级应用程序使用的数据层组件,以及生成查询和脚本。Use SSMS to deploy, monitor, and upgrade the data-tier components used by your applications, and build queries and scripts.

使用 SSMS 在本地计算机或云端查询、设计和管理数据库及数据仓库,无论它们位于何处。Use SSMS to query, design, and manage your databases and data warehouses, wherever they are - on your local computer, or in the cloud.

下载 SSMSDownload SSMS

下载 SQL Server Management Studio (SSMS)

SSMS 18.8 是 SSMS 的最新正式发布 (GA) 版本。SSMS 18.8 is the latest general availability (GA) version of SSMS. 如果安装的是旧 GA 版本 SSMS 18,请安装 SSMS 18.8 将它升级到 18.8。If you have a previous GA version of SSMS 18 installed, installing SSMS 18.8 upgrades it to 18.8.

重要

从 SQL Server Management Studio (SSMS) 18.7 开始,Azure Data Studio 将自动与 SSMS 一起安装。Beginning with SQL Server Management Studio (SSMS) 18.7, Azure Data Studio is automatically installed alongside SSMS. SQL Server Management Studio 的用户现在可以从 Azure Data Studio 的创新和功能中获益。Users of SQL Server Management Studio are now able to benefit from the innovations and features in Azure Data Studio. Azure Data Studio 是适用于你的环境的跨平台开源桌面工具,无论是在云中、本地还是混合环境中。Azure Data Studio is a cross-platform and open-source desktop tool for your environments, whether in the cloud, on-premises, or hybrid.

若要了解有关 Azure Data Studio 的详细信息,请查看什么是 Azure Data Studio常见问题解答To learn more about Azure Data Studio, check out What is Azure Data Studio or the FAQ.

  • 版本号:18.8Release number: 18.8
  • 生成号:15.0.18369.0Build number: 15.0.18369.0
  • 发行日期:2020 年 12 月 17 日Release date: December 17, 2020

如果你有任何意见或建议,或想报告问题,最好是通过 SQL Server 用户反馈与 SSMS 团队联系。If you have comments or suggestions, or you want to report issues, the best way to contact the SSMS team is at SQL Server user feedback.

SSMS 18.x 安装不会升级或替换 SSMS 17.x 或更早版本。The SSMS 18.x installation doesn't upgrade or replace SSMS versions 17.x or earlier. SSMS 18.x 与以前的版本并行安装,因此,这两个版本均可供使用。SSMS 18.x installs side by side with previous versions, so both versions are available for use. 不过,如果安装的是 SSMS 18.x 预览版,则必须在安装 SSMS 18.8 前卸载它。However, if you have a preview version of SSMS 18.x installed, you must uninstall it before installing SSMS 18.8. 转到“帮助”>“关于” 窗口,找到“预览版”,即可查看。You can see if you have the preview version by going to the Help > About window.

如果计算机包含 SSMS 的并行安装,请验证你是否针对特定需求启动相应的版本。If a computer contains side-by-side installations of SSMS, verify you start the correct version for your specific needs. 最新版本标记为 Microsoft SQL Server Management Studio 18The latest version is labeled Microsoft SQL Server Management Studio 18

备注

如果你正从一个非英语的语言版本访问此页面并想要查看最新内容,请访问此网站的英语(美国)版本If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the US-English version of the site. 可以通过选择可用语言从英语(美国)版本站点下载不同的语言。You can download different languages from the US-English version site by selecting available languages.

可用语言Available languages

此版本的 SSMS 可以安装在以下语言中:This release of SSMS can be installed in the following languages:

SQL Server Management Studio 18.8:SQL Server Management Studio 18.8:
中文(简体) | 中文(繁体) | 英语(美国) | 法语 | 德语 | 意大利语 | 日语 | 朝鲜语 | 葡萄牙语(巴西) | 俄语 | 西班牙语Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

备注

SQL Server PowerShell 模块可通过 PowerShell 库单独安装。The SQL Server PowerShell module is a separate install through the PowerShell Gallery. 有关详细信息,请参阅下载 SQL Server PowerShell 模块For more information, see Download SQL Server PowerShell Module.

新增功能What's new

有关此版本中新增功能的详细信息,请参阅 SSMS 发行说明For details and more information about what's new in this release, see SSMS release notes.

此版本存在一些已知问题There are a few known issues with this release.

以前的版本Previous versions

本文仅适用于最新版本的 SSMS。This article is for the latest version of SSMS only. 若要下载 SSMS 的早期版本,请访问 SSMS 的早期版本To download previous versions of SSMS, visit Previous SSMS releases.

备注

在 2021 年 12 月,将不再使用 MFA 通过 Azure Active Directory 对 18.6 版之前的 SSMS 版本进行身份验证。In December 2021, releases of SSMS prior to 18.6 will no longer authenticate through Azure Active Directory with MFA.

若要继续将 MFA 与 Azure Active Directory 身份验证结合使用,需要 SSMS 18.6 或更高版本To continue utilizing Azure Active Directory authentication with MFA, you need SSMS 18.6 or later.

无人参与安装Unattended install

还可以使用命令提示符脚本安装 SSMS。You can also install SSMS using a command prompt script.

如果要在没有 GUI 提示的情况下在后台安装 SSMS,请执行以下步骤。If you want to install SSMS in the background with no GUI prompts, then follow the steps below.

  1. 使用提升的权限启动命令提示符。Launch the command prompt with elevated permissions.

  2. 在命令提示符下键入以下命令。Type the command below in the command prompt.

    start "" /w <path where SSMS-ENU.exe file is located> /Quiet SSMSInstallRoot=<path where you want to install SSMS>
    

    示例:Example:

    start "" /w %systemdrive%\SSMSfrom\SSMS-Setup-ENU.exe /Quiet SSMSInstallRoot=%systemdrive%\SSMSto
    

    你也可以传递 /Passive 而不是 /Quiet 来查看设置 UI 。You can also pass /Passive instead of /Quiet to see the setup UI.

  3. 如果一切正常,你可以看到 SSMS 安装在 %systemdrive%\SSMSto\Common7\IDE\Ssms.exe 中(具体视示例而定)。If all goes well, you can see SSMS installed at %systemdrive%\SSMSto\Common7\IDE\Ssms.exe" based on the example. 如果出现故障,可以检查返回的错误代码,并在 %TEMP%\SSMSSetup 处查看日志文件。If something went wrong, you could inspect the error code returned and take a peek at the %TEMP%\SSMSSetup for the log file.

使用 Azure Data Studio 安装Installation with Azure Data Studio

  • 从 SSMS 18.7 开始,默认情况下,SSMS 会安装 Azure Data Studio 的系统版本。Starting with SSMS 18.7, SSMS installs a system version of Azure Data Studio by default. 如果与随附的 Azure Data Studio 版本相比,不低于该版本的 Azure Data Studio 稳定版或预览体验版本的系统版本已存在于工作站上,则会跳过使用 SSMS 安装 Azure Data Studio 的步骤。If an equal or greater system version of Azure Data Studio stable or insiders is already present on the workstation compared to the included version of Azure Data Studio, the installation of Azure Data Studio by SSMS is skipped. 可以在发行说明中找到 Azure Data Studio 版本。The Azure Data Studio version can be found in the release notes.
  • Azure Data Studio 系统安装程序需要与 SSMS 安装程序相同的安全权限。The Azure Data Studio system installer requires the same security rights as the SSMS installer.
  • Azure Data Studio 安装是使用默认 Azure Data Studio 安装选项完成的。The Azure Data Studio installation is completed with the default Azure Data Studio installation options. 它们用于创建“开始”菜单文件夹并将 Azure Data Studio 添加到路径。These are to create a Start Menu folder and add Azure Data Studio to PATH. 不会创建桌面快捷方式,也不会将 Azure Data Studio 注册为任何文件类型的默认编辑器。A desktop shortcut is not created and Azure Data Studio is not registered as a default editor for any file types.
  • Azure Data Studio 的本地化通过语言包扩展来实现。Localization of Azure Data Studio is accomplished through Language Pack extensions. 若要本地化 Azure Data Studio,请从扩展市场下载相应的语言包。To localize Azure Data Studio, download the corresponding language pack from the extension marketplace.
  • 此时,可以通过使用命令行标记 DoNotInstallAzureDataStudio=1 启动 SSMS 安装程序来跳过 Azure Data Studio 的安装。At this time, the installation of Azure Data Studio can be skipped by launching the SSMS installer with the command line flag DoNotInstallAzureDataStudio=1.

卸载Uninstall

卸载 SSMS 后,仍会保留安装一些共享组件。There are shared components that remain installed after you uninstall SSMS.

保留安装的共享组件包括:The shared components that remain installed are:

  • Azure Data StudioAzure Data Studio
  • Microsoft .NET Framework 4.7.2Microsoft .NET Framework 4.7.2
  • 适用于 SQL Server 的 Microsoft OLE DB 驱动程序Microsoft OLE DB Driver for SQL Server
  • Microsoft ODBC Driver 17 for SQL ServerMicrosoft ODBC Driver 17 for SQL Server
  • Microsoft Visual C++ 2013 Redistributable (x86)Microsoft Visual C++ 2013 Redistributable (x86)
  • Microsoft Visual C++ 2017 Redistributable (x86)Microsoft Visual C++ 2017 Redistributable (x86)
  • Microsoft Visual C++ 2017 Redistributable (x64)Microsoft Visual C++ 2017 Redistributable (x64)
  • Microsoft Visual Studio Tools for Applications 2017Microsoft Visual Studio Tools for Applications 2017

由于这些组件可能与其他产品共享,因此不会卸载。These components aren't uninstalled because they can be shared with other products. 如果卸载了这些组件,则可能会遇到其他产品被禁用的风险。If uninstalled, you may run the risk of disabling other products.

支持的 SQL 产品/服务Supported SQL offerings

  • 此版本的 SSMS 适用于所有受支持 SQL Server 2008 版本 - SQL Server 2019 (15.x)SQL Server 2019 (15.x),并且在最大程度上支持与 Azure SQL 数据库和 Azure Synapse Analytics 中的最新云功能配合使用。This version of SSMS works with all supported versions of SQL Server 2008 - SQL Server 2019 (15.x)SQL Server 2019 (15.x) and provides the greatest level of support for working with the latest cloud features in Azure SQL Database and Azure Synapse Analytics.
  • 此外,SSMS 18.x 可与 SSMS 17.x、SSMS 16.x 或 SQL Server 2014 SSMS 及早期版本并行安装。Additionally, SSMS 18.x can be installed side by side with SSMS 17.x, SSMS 16.x, or SQL Server 2014 SSMS and earlier.
  • SQL Server Integration Services (SSIS) - SSMS 版本 17.x 或更高版本不支持连接到旧版 SQL Server Integration Services 服务。SQL Server Integration Services (SSIS) - SSMS version 17.x or later doesn't support connecting to the legacy SQL Server Integration Services service. 要连接到早期版本的 Integration Services,请使用与 SQL Server 版本一致的 SSMS 版本。To connect to an earlier version of the legacy Integration Services, use the version of SSMS aligned with the version of SQL Server. 例如,使用 SSMS 16.x 连接到旧版 SQL Server 2016 Integration Services 服务。For example, use SSMS 16.x to connect to the legacy SQL Server 2016 Integration Services service. 可以在同一台计算机上并行安装 SSMS 17.x 和 SSMS 16.x。SSMS 17.x and SSMS 16.x can be installed side by side on the same computer. 由于 SQL Server 2012 的发布,建议使用 SSIS 目录数据库 (SSISDB) 来存储、管理、运行和监视 Integration Services 包。Since the release of SQL Server 2012, the SSIS Catalog database, SSISDB, is the recommended way to store, manage, run, and monitor Integration Services packages. 有关详细信息,请参阅 SSIS 目录For details, see SSIS Catalog.

SSMS 系统要求SSMS System Requirements

当与最新可用的服务包一起使用时,SSMS 的当前版本支持以下 64 位平台:The current release of SSMS supports the following 64-bit platforms when used with the latest available service pack:

支持的操作系统:Supported Operating Systems:

  • Windows 10(64 位)1607 (10.0.14393) 或更高版本Windows 10 (64-bit) version 1607 (10.0.14393) or later
  • Windows 8.1(64 位)Windows 8.1 (64-bit)
  • Windows Server 2019(64 位)Windows Server 2019 (64-bit)
  • Windows Server 2016(64 位)Windows Server 2016 (64-bit)
  • Windows Server 2012 R2(64 位)Windows Server 2012 R2 (64-bit)
  • Windows Server 2012(64 位)Windows Server 2012 (64-bit)
  • Windows Server 2008 R2(64 位)Windows Server 2008 R2 (64-bit)

支持的硬件:Supported hardware:

  • 1.8 GHz 或更快的 x86(Intel、AMD)处理器。1.8 GHz or faster x86 (Intel, AMD) processor. 推荐使用双核或更好的内核Dual-core or better recommended
  • 2 GB RAM;建议 4 GB RAM(如果在虚拟机上运行,则最低 2.5 GB)2 GB of RAM; 4 GB of RAM recommended (2.5 GB minimum if running on a virtual machine)
  • 硬盘空间:2-10 GB 可用空间Hard disk space: Minimum of 2 GB up to 10 GB of available space

备注

对于 Windows,SSMS 只能作为 32 位应用程序使用。SSMS is available only as a 32-bit application for Windows. 如果需要在 Windows 以外的操作系统上运行的工具,我们建议使用 Azure Data Studio。If you need a tool that runs on operating systems other than Windows, we recommend Azure Data Studio. Azure Data Studio 是一个跨平台工具,可在 macOS、Linux 以及 Windows 上运行。Azure Data Studio is a cross-platform tool that runs on macOS, Linux, as well as Windows. 有关详细信息,请参阅 Azure Data StudioFor details, see Azure Data Studio.

获取 SQL 工具的帮助

后续步骤Next steps

参与编辑 SQL 文档

你是否知道你可以自己编辑内容?Did you know that you could edit the content yourself? 这样做不仅可以改进我们的文档,还可以获得页面贡献者的殊荣。If you do so, not only will our documentation improve, but you'll also be credited as a contributor to the page.