- Sql Management Studio For Mac
- Microsoft Sql Management Studio Mac Os
- Microsoft Sql Management Studio Tutorial
Download Sql Server Management Studio Mac Software Advertisement Navicat for SQL Server for Mac OS v.9.1 An ideal solution for administration and development which lets you create, edit databases, run SQL queries and connect to remote SQL Server in an easier way. SQL Server Management Studio is a GUI tool included with SQL Server 2005 and later for configuring, managing, and administering all components within Microsoft SQL Server. The tool includes both script editors and graphical tools that work with objects and features of the server. A SQL Server GUI for your Mac – SQL Operations Studio (SQLOPS) SQL Operations Studio (SQLOPS) is a free GUI management tool that you can use to manage SQL Server on your Mac. You can use it to create and manage databases, write queries, backup and restore databases, and more.
-->This tutorial teaches you how to use SQL Server Management Studio (SSMS) to connect to your SQL Server instance and run some basic Transact-SQL (T-SQL) commands. The article demonstrates how to follow the below steps:
- Connect to a SQL Server instance
- Create a database ('TutorialDB')
- Create a table ('Customers') in your new database
- Insert rows into your new table
- Query the new table and view the results
- Use the query window table to verify your connection properties
- Change the server that your query window is connected to
Prerequisites
To complete this tutorial, you need SQL Server Management Studio and access to a SQL Server instance.
- Install SQL Server Management Studio.
If you don't have access to a SQL Server instance, select your platform from the following links. If you choose SQL Authentication, use your SQL Server login credentials.
- Windows: Download SQL Server 2017 Developer Edition.
- macOS: Download SQL Server 2017 on Docker.
Connect to a SQL Server instance
Start SQL Server Management Studio. The first time you run SSMS, the Connect to Server window opens. If it doesn't open, you can open it manually by selecting Object Explorer > Connect > Database Engine.
In the Connect to Server window, follow the list below:
For Server type, select Database Engine (usually the default option).
For Server name, enter the name of your SQL Server instance. (This article uses the instance name SQL2016ST on the hostname NODE5 [NODE5SQL2016ST].) If you're unsure how to determine your SQL Server instance name, see Additional tips and tricks for using SSMS.
For Authentication, select Windows Authentication. This article uses Windows Authentication, but SQL Server login is also supported. If you select SQL Login, you're prompted for a username and password. For more information about authentication types, see Connect to the server (database engine).
You can also modify additional connection options by selecting Options. Examples of connection options are the database you're connecting to, the connection timeout value, and the network protocol. This article uses the default values for all the options.
After you've completed all the fields, select Connect.
Examples of successful connections
To verify that your SQL Server connection succeeded, expand and explore the objects within Object Explorer. These objects are different depending on the type of server you choose to connect.
Connecting to an on-premises SQL server - in this case NODE5SQL2016ST:
Connecting to SQL Azure DB - in this case msftestserver.database.windows.net:
Note
In this tutorial, you previously used Windows Authentication to connect to your on-premises SQL server, but this method is not supported for SQL Azure DB. As such, this image shows using SQL Authentication to connect to the SQL Azure DB. For more information, see SQL on-premises authentication and SQL Azure authentication.
Create a database
Create a database named TutorialDB by following the below steps:
Right-click your server instance in Object Explorer, and then select New Query:
Into the query window, paste the following T-SQL code snippet:
To execute the query, select Execute (or select F5 on your keyboard).
After the query is complete, the new TutorialDB database appears in the list of databases in Object Explorer. If it isn't displayed, right-click the Databases node, and then select Refresh.
Create a table in the new database
In this section, you create a table in the newly created TutorialDB database. Because the query editor is still in the context of the master database, switch the connection context to the TutorialDB database by doing the following steps:
In the database drop-down list, select the database that you want, as shown here:
Paste the following T-SQL code snippet into the query window, select it, and then select Execute (or select F5 on your keyboard).
You can either replace the existing text in the query window or append it to the end. To execute everything in the query window, select Execute. To execute a portion of the text, highlight that portion, and then select Execute.
After the query is complete, the new Customers table is displayed in the list of tables in Object Explorer. If the table isn't displayed, right-click the TutorialDB > Tables node in Object Explorer, and then select Refresh.
Sql Management Studio For Mac
Insert rows into the new table
Insert some rows into the Customers table that you created previously. To do so, paste the following T-SQL code snippet into the query window, and then select Execute:
Query the table and view the results
The results of a query are visible below the query text window. To query the Customers table and view the rows that were previously inserted, follow these steps:
Paste the following T-SQL code snippet into the query window, and then select Execute:
The results of the query are displayed under the area where the text was entered:
Modify the way results are presented by selecting one of the following options:
- The middle button displays the results in Grid View, which is the default option.
- The first button displays the results in Text View, as shown in the image in the next section.
- The third button lets you save the results to a file whose extension is .rpt by default.
Verify your connection properties by using the query window table
You can find information about the connection properties under the results of your query. After you run the previously mentioned query in the preceding step, review the connection properties at the bottom of the query window.
You can determine which server and database you're connected to, and the username that you use.
You can also view the query duration and the number of rows that are returned by the previously executed query.
Note
In the image, the results are displayed in Text View.
Change the server based on the query window
You can change the server that your current query window is connected to by following the steps below:
Right-click in the query window, and then select Connection > Change connection. The Connect to Server window opens again.
Change the server that your query uses.
Note
This action changes only the server that the query window is connected to, not the server that Object Explorer uses.
Next steps
The best way to get acquainted with SSMS is through hands-on practice. These articles help you with various features available within SSMS. These articles teach you how to manage the components of SSMS and how to find the features that you use regularly.
-->
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 in the messages to track when a given query completed its execution.Query Execution or ResultsAllow more data to be displayed (Result to Text) and stored in cells (Result to Grid). SSMS now allows up to 2M characters for both (up from 256 and 64 K, respectively). This also addressed the issue of users not able to grab more than 43680 chars from the cells of the grid.ShowPlanAdded a new attribute in QueryPlan when inline scalar UDF feature is enabled (ContainsInlineScalarTsqlUdfs).Integration Services (SSIS)Perf optimization for SSIS package scheduler in Azure
For details about what's new in this release, see the SSMS release notes.
Supported SQL offerings (SSMS 18.2)

- This version of SSMS works with all supported versions of SQL Server 2008 - SQL Server 2019 and provides the greatest level of support for working with the latest cloud features in Azure SQL Database and Azure SQL Data Warehouse.
- 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 version 17.x or later doesn'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 Integration Services service. SSMS 17.x and SSMS 16.x can be installed side by side on the same computer. 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. For details, see SSIS Catalog.
Supported operating systems (SSMS 18.2)
This release of SSMS supports the following 64-bit platforms when used with the latest available service pack:
- Windows 10 (64-bit) *
- Windows 8.1 (64-bit)
- Windows Server 2019 (64-bit)
- Windows Server 2016 (64-bit) *
- Windows Server 2012 R2 (64-bit)
- Windows Server 2012 (64-bit)
- Windows Server 2008 R2 (64-bit)
* Requires version 1607 (10.0.14393) or later
Note
SSMS runs on Windows only. If you need a tool that runs on platforms other than Windows, take a look at Azure Data Studio. Azure Data Studio is a new cross-platform tool that runs on macOS, Linux, as well as Windows. For details, see Azure Data Studio.
Release notes (SSMS 18.2)
There are a few known issues with this release.
For details about this release, see the SSMS release notes.
Previous SSMS releases
Get help for SQL tools
Microsoft Sql Management Studio Mac Os
See also
Contribute SQL documentation
Microsoft Sql Management Studio Tutorial
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.