SQL Server Management Studio (SSMS)
SQL Server Management Studio is the main administration console for SQL Server. It allows you to create and administer databases, security, replication, backups, and more.
There are many ways to connect to SQL Server. The method you use will depend on your environment, and where you're connecting from. For example, you can connect via a web application, an online admin tool, via a command line utility, or via SQL Server Management Studio.
SQL Server Management Studio (SSMS) is a graphical admin tool that allows you to perform all sorts of tasks with SQL Server. You can create and manage databases, create user accounts, configure advanced security options, schedule regular backups, and more.
SSMS also provides Transact-SQL, MDX, DMX, and XML language editors for editing and debugging scripts.
Getting Started with SQL Server Management Studio
Despite the many steps involved in installing SQL Server, none of those steps involved installing SQL Server Management Studio.
In earlier versions of SQL Server, you could select SQL Server Management Studio (SSMS) as an option in the installation wizard, but this is not the case with SQL Server 2016. So we must install SSMS separately.
Here's how to get started with SSMS.
-
Install SSMS
-
Open SSMS
-
Connect to SQL Server
The SSMS Interface
Here's a quick overview of the SQL Server Management Studio interface.
-
The Object Explorer
-
Document Windows
-
Other Windows
Servers and Databases
You can use SQL Server Management Studio to create as many databases as you like. You can also connect to as many databases on as many servers as you like. These all appear in the Object Explorer.
So you could run a query on your development environment, then switch to your test or production environment and run a query there. Because of this, you need to be careful that you don't accidentally run a script against the wrong server.
Most of the tasks performed with SQL Server Management Studio are initiated either from the top menu, or by right-clicking on an icon/object.