Greetings to all visitors to the Info-Comp.ru website! In this article we will walk you through the process of installing SQL Server Data Tools (SSDT), and also talk about what this tool is and what it is intended for.
What is SQL Server Data Tools
SQL Server Data Tools (SSDT) Is a separate component (workload) of Visual Studio that is dedicated to developing SQL Server relational databases.
In other words, SSDT is a kind of alternative to SQL Server Management Studio (SSMS), but fully integrated into the Visual Studio environment. At the same time, of course, the functionality and capabilities of SSDT differ from SSMS, moreover, the purpose of SSDT is slightly different from what SSMS was created for.
If SSMS was created for developing and maintaining databases, as well as for administering SQL Server, i.e. SSMS is a kind of complex solution for working with SQL Server, then SSDT is created for project development of databases using all the capabilities and advantages of Visual Studio, as well as using the interface and functionality familiar to application developers.
The note! Overview of tools for working with Microsoft SQL Server.
Thus, SQL Server Data Tools is intended for developers building applications in Visual Studio.
Developing SQL Server and SQL Azure Databases
Coverage of all stages of database development
Familiar Visual Studio interface and functionality
You can work with both a database project and a connected database instance
Presenting database objects as in SSMS
GUI table constructor
Build and Debug
Making Changes Declaratively in the Transact-SQL Editor
The note! How to record GIF from computer screen.
Installing SQL Server Data Tools
We found that SQL Server Data Tools is a separate Visual Studio workload. Therefore, to install SQL Server Data Tools, you need Visual Studio itself.
If you already have the environment installed, you need to add the workload “Data storage and processing “.
If the environment is not installed, you need to install Visual Studio and mark the workload during installation “Data storage and processing “.
Unfortunately, there is no standalone SQL Server Data Tools installer for Visual Studio 2019.
Consider a situation where Visual Studio is already installed and we need to install SQL Server Data Tools.
The note! Describes the installation process for Visual Studio.
Run Visual Studio Installer
Launching the application «Visual Studio Installer», in which we press the button “Change”.
Marking the workload
Next, we mark the workload that we want to install, in this case we need the workload “Data storage and processing “.
Then press the button “Change”.
As a result, the process of downloading and installing all the necessary components will begin.
The note! Visual Studio Code (VS Code) for Transact-SQL development.
When this process is completed, the standard window of this application will be displayed.
Creating a Database Project in SQL Server Data Tools
After installing SQL Server Data Tools, you will have all the functionality included in this workload, including the ability to create a custom project for databases.
Let’s create such a project as an example.
Launch Visual Studio and select “Project creation”.
Looking for a template “Database project SQL Server» and press “Further”.
The note! Azure Data Studio overview. What is this tool and what is it for.
We enter the name of the project, indicate the location of the project, and also set the name of the solution.
This will create a solution and an empty database project.
The note! If you are interested in the SQL language, then I recommend reading the book “SQL code» – This is a self-taught SQL language tutorial for beginner programmers. It discusses in great detail the basic constructions of the language.
That’s all for today, I hope the material was useful to you, bye!
The post How to Install SQL Server Data Tools (SSDT) and What It Is first appeared on IT Pro Notes.