Επεξεργασία

Κοινή χρήση μέσω


Install SQL Server Data Tools (SSDT) for Visual Studio

Applies to: SQL Server Azure SQL Database Azure Synapse Analytics

SQL Server Data Tools (SSDT) is a set of development tooling for building SQL Server databases, Azure SQL databases, Analysis Services (AS) data models, Integration Services (IS) packages, and Reporting Services (RS) reports. With SSDT, you can design and deploy SQL objects with the same project concept as other application development tools. The SQL projects capability extends to CI/CD pipelines, enabling you to automate the build and deployment of your database projects with the SqlPackage CLI.

The release notes for SSDT and its components are available for Visual Studio 2017, 2019, and 2022. An overview of the core SSDT functionality is provided in the SSDT Overview.

Note

There's no SSDT standalone installer for Visual Studio. SSDT is installed as a Visual Studio component, both for online installation and offline installation. Analysis Services, Integration Services, and Reporting Services projects are available as separate extensions for each version.

Install SSDT with Visual Studio

If Visual Studio 2022 or Visual Studio 2019 is already installed, you can edit the list of workloads to include SSDT. If you don't have Visual Studio 2019/2022 installed, then you can download and install Visual Studio 2022.

To modify the installed Visual Studio workloads to include SSDT, use the Visual Studio Installer.

  1. Launch the Visual Studio Installer. In the Windows Start menu, you can search for "installer."

  2. In the installer, select for the edition of Visual Studio that you want to add SSDT to, and then choose Modify.

  3. Select SQL Server Data Tools under Data storage and processing in the list of workloads.

    Screenshot of Data storage and processing workload 2022.

Visual Studio for Arm64

Visual Studio is available as a native Arm64 application on Windows 11 Arm64. In Visual Studio 17.10 and later, SSDT is available for Arm64 with some limitations. To install or configure Visual Studio to include SSDT on an Arm64 device:

  1. Install Visual Studio 17.10 or later on your Arm64 device.

  2. In the installer, select the Individual components tab and search for SQL Server Data Tools.

    Screenshot of SQL Server Data Tools for Arm64.

  3. Select SQL Server Data Tools and then choose Modify.

Install extensions for Analysis Services, Integration Services, and Reporting Services

For Analysis Services (SSAS), Integration Services (SSIS), or Reporting Services (SSRS) projects, you can install the appropriate extensions from within Visual Studio with Extensions > Manage Extensions or from the Marketplace.

Extensions for Visual Studio 2022

Extensions for Visual Studio 2019

Supported SQL versions

Supported SQL versions in Visual Studio 2022

Project Templates SQL Platforms Supported
Relational databases SQL Server 2016 (13.x) - SQL Server 2022 (16.x)

Azure SQL Database, Azure SQL Managed Instance

Azure Synapse Analytics Dedicated Pools
Azure Synapse Analytics Serverless Pools (requires VS2022 17.7 see the release notes)
Analysis Services models

Reporting Services reports
SQL Server 2016 - SQL Server 2022
Integration Services packages SQL Server 2019 - SQL Server 2022

Supported SQL versions in Visual Studio 2019

Project Templates SQL Platforms Supported
Relational databases SQL Server 2012 - SQL Server 2019

Azure SQL Database, Azure SQL Managed Instance

Azure Synapse Analytics (dedicated pools only)
Analysis Services models

Reporting Services reports
SQL Server 2008 - SQL Server 2019
Integration Services packages SQL Server 2012 - SQL Server 2022

Offline installation

For scenarios where offline installation is required, such as low bandwidth or isolated networks, SSDT is available for offline installation. Two approaches are available:

For more details, you can follow the Step-by-Step Guidelines for Offline Installation

License terms for Visual Studio

To understand the license terms and use cases for Visual Studio, refer to Visual Studio License Directory. For example, if you're using the Community Edition of Visual Studio for SQL Server Data Tools, review the end user licensing agreement (EULA) for that specific edition of Visual Studio in the Visual Studio License Directory.

Previous versions

To download and install SSDT for Visual Studio 2017, or an older version of SSDT, see Previous releases of SQL Server Data Tools (SSDT and SSDT-BI).

See also

Next steps

After installation of SSDT, work through these tutorials to learn how to create databases, packages, data models, and reports using SSDT.

Get help

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