Редагувати

Поділитися через


Download SQL Server Management Studio (SSMS)

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics SQL analytics endpoint in Microsoft Fabric Warehouse in Microsoft Fabric

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. SSMS provides tools to configure, monitor, and administer instances of SQL Server and databases. Use SSMS to deploy, monitor, and upgrade the data-tier components used by your applications and build queries and scripts.

Use SSMS to query, design, and manage your databases and data warehouses, wherever they are - on your local computer or in the cloud.

For customers needing a cross-platform companion to SSMS for managing SQL and other Azure databases, use Azure Data Studio.

For details and more information about what's new in this release, see Release notes for SQL Server Management Studio (SSMS) 20.2.

Download SSMS

Download SQL Server Management Studio (SSMS) 20.2

SSMS 20.2 is the latest generally available (GA) version. If you have a preview version of SSMS 20 installed, uninstall it before installing SSMS 20.2. Installing SSMS 20.2 doesn't upgrade or replace SSMS 19.x and earlier versions.

  • Release number: 20.2
  • Build number: 20.2.30.0
  • Release date: July 9, 2024

By using SQL Server Management Studio, you agree to its license terms and privacy statement. If you have comments or suggestions or want to report issues, the best way to contact the SSMS team is at SQL user feedback.

The SSMS 20.x installation doesn't upgrade or replace SSMS 19.x and earlier versions. SSMS 20.x installs alongside previous versions, so both versions are available. However, if you have an earlier preview version of SSMS 20 installed, you must uninstall it before installing the latest release of SSMS 20. You can see if you have a preview version by going to the Help > About window.

If a computer contains side-by-side installations of SSMS, verify you start the correct version for your specific needs. The latest version is labeled Microsoft SQL Server Management Studio v20.2.

Important

For SQL Server Management Studio (SSMS) 18.7 through 19.3, Azure Data Studio is automatically installed alongside SSMS. Users of SQL Server Management Studio are able to benefit from the innovations and features in 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.

To learn more about Azure Data Studio, check out What is Azure Data Studio or the FAQ.

Available languages

This release of SSMS can be installed in the following languages:

SQL Server Management Studio 20.2:

If you access this page from a non-English language version and want to see the most up-to-date content, select Read in English at the top of this page. To download different languages, select available languages.

Note

The SQL Server PowerShell module is a separate install through the PowerShell Gallery. For more information, see Install the SQL Server PowerShell module.

What's new

For details and more information about what's new in this release, see Release notes for SQL Server Management Studio (SSMS).

Previous versions

This article is for the latest version of SSMS only. To download previous versions of SSMS, visit Previous SSMS releases.

Note

In December 2021, releases of SSMS prior to 18.6 will no longer authenticate to Database Engines through Microsoft Entra multifactor authentication (MFA). To continue utilizing MFA, you need SSMS 18.6 or later.

Connectivity to Azure Analysis Services through Microsoft Entra multifactor authentication requires SSMS 18.5.1 or later.

Unattended install

You can install SSMS using PowerShell.

Follow these steps to install SSMS in the background with no GUI prompts.

  1. Launch PowerShell with elevated permissions.

  2. Type the following command.

    $media_path = "<path where SSMS-Setup-ENU.exe file is located>"
    $install_path = "<root location where all SSMS files will be installed>"
    $params = " /Install /Quiet SSMSInstallRoot=$install_path"
    
    Start-Process -FilePath $media_path -ArgumentList $params -Wait
    

    For example:

    $media_path = "C:\Installers\SSMS-Setup-ENU.exe"
    $install_path = "$env:SystemDrive\SSMSto"
    $params = "/Install /Quiet SSMSInstallRoot=`"$install_path`""
    
    Start-Process -FilePath $media_path -ArgumentList $params -Wait
    

    You can also pass /Passive instead of /Quiet to see the setup UI.

  3. If all goes well, you can see SSMS installed at %systemdrive%\SSMSto\Common7\IDE\Ssms.exe based on the example. If something went wrong, you could inspect the error code returned and review the log file in %TEMP%\SSMSSetup.

Uninstall

SSMS might install shared components if it determines they're missing during SSMS installation. SSMS doesn't automatically uninstall these components when you uninstall SSMS.

The shared components are:

  • Microsoft OLE DB Driver 18 for SQL Server
  • Microsoft ODBC Driver 17 for SQL Server
  • Microsoft Visual C++ 2017 Redistributable (x86)
  • Microsoft Visual C++ 2017 Redistributable (x64)
  • Microsoft Visual Studio Tools for Applications 2019

These components aren't uninstalled because they can be shared with other products. If uninstalled, you might run the risk of disabling other products.

Installation with Azure Data Studio

  • SSMS installs Azure Data Studio by default for versions 18.7 through 19.3. SSMS does not install Azure Data Studio with SSMS 20.0 and higher.
    • The installation of Azure Data Studio by SSMS is skipped if an equal or higher version of Azure Data Studio is already installed.
    • The Azure Data Studio version can be found in the release notes.
  • The Azure Data Studio system installer requires the same security rights as the SSMS installer.
  • The Azure Data Studio installation is completed with the default Azure Data Studio installation options. These are to create a Start Menu folder and add Azure Data Studio to PATH. A desktop shortcut isn't created, and Azure Data Studio isn't registered as a default editor for any file type.
  • Localization of Azure Data Studio is accomplished through Language Pack extensions. Install the corresponding language pack from the extension marketplace to localize Azure Data Studio.
  • For versions 18.7 through 19.3, the installation of Azure Data Studio can be skipped by launching the SSMS installer with the command line flag DoNotInstallAzureDataStudio=1.

Supported SQL offerings

  • This version of SSMS works with SQL Server 2014 (12.x) and later versions. It provides the most significant support for working with the latest cloud features in Azure SQL Database, Azure Synapse Analytics, and Microsoft Fabric.

  • Additionally, SSMS 20.x can be installed alongside with SSMS 19.x, SSMS 18.x, SSMS 17.x, and SSMS 16.x.

  • For SQL Server Integration Services (SSIS), SSMS 17.x and later versions don't support connecting to the legacy SQL Server Integration Services service. To connect to an earlier version of the legacy Integration Services, use the version of SSMS aligned with the version of SQL Server. For example, use SSMS 16.x to connect to the legacy SQL Server 2016 (13.x) Integration Services service. SSMS 17.x and SSMS 16.x can be installed on the same computer. Since the release of SQL Server 2012 (11.x), the SSIS Catalog database, SSISDB, is the recommended way to store, manage, run, and monitor Integration Services packages. See SSIS Catalog for details.

SSMS system requirements

The current release of SSMS supports the following 64-bit platforms when used with the latest available service pack:

Supported operating systems:

  • Windows 11 (x64)
  • Windows 10 (x64) version 1607 (10.0.14393) and later versions
  • Windows Server 2022 (x64)
  • Windows Server Core 2022 (x64)
  • Windows Server 2019 (x64)
  • Windows Server Core 2019 (x64)
  • Windows Server 2016 (x64) 1

1 SSMS requires .NET Framework 4.7.2.

Additional requirements:

  • Administrator rights are required to install or update SSMS.
  • Running in a virtual machine environment requires a full Windows operating system.
  • Windows containers are not supported.
  • SSMS is not supported in application virtualization solutions such as Microsoft App-V or MSIX for Windows, or third-party app virtualization technologies.

Note

To install SSMS on Windows Server Core, you must install the Server Core App Compatibility Feature on Demand.

Supported hardware:

  • 1.8 GHz or faster x86 (Intel, AMD) processor. Dual-core or better recommended
  • 2 GB of RAM; 4 GB of RAM recommended (2.5 GB minimum if running on a virtual machine)
  • Hard disk space: Minimum of 3 GB up to 10 GB of available space

Note

SSMS is available only as a 32-bit application for Windows. If you need a tool that runs on operating systems other than Windows, we recommend Azure Data Studio. Visit Azure Data Studio, for more details.

Get help for SQL tools

Contribute to SQL documentation

Did you know that you can edit SQL content yourself? If you do so, not only do you help improve our documentation, but you also get credited as a contributor to the page.

For more information, see How to contribute to SQL Server documentation