Skip to content

Commit 7157d8e

Browse files
author
stevestein
committed
sqldb- refresh connect article
1 parent f59b506 commit 7157d8e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

articles/sql-database/sql-database-connect-query-ssms.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ ms.date: 03/10/2020
1515
---
1616
# Quickstart: Use SQL Server Management Studio to connect and query an Azure SQL database
1717

18-
In this quickstart, you'll use [SQL Server Management Studio][ssms-install-latest-84g] (SSMS) to connect to an Azure SQL database and run some sample queries.
18+
In this quickstart, you'll learn how to use SQL Server Management Studio (SSMS) to connect to an Azure SQL database and run some queries.
1919

2020
## Prerequisites
2121

2222
Completing this quickstart requires the following items:
2323

2424
- [SQL Server Management Studio (SSMS)](/sql/ssms/download-sql-server-management-studio-ssms/).
25-
- An AdventureWorksLT sample database. If you need a working copy of the AdventureWorksLT SQL database, create one by completing the steps in this article: [Quickstart: Create an Azure SQL database](sql-database-single-database-get-started.md).
25+
- The AdventureWorksLT sample database. If you need a working copy of the AdventureWorksLT database, create one by completing the [Create an Azure SQL database](sql-database-single-database-get-started.md) quickstart.
2626
- The scripts in this article are written to use the AdventureWorksLT database. If you are using a managed instance, you must either import the AdventureWorks database into an instance database or modify the scripts in this article to use the Wide World Importers database.
2727

2828
If you simply want to run some ad-hoc queries without installing SSMS, see [Quickstart: Use the Azure portal's query editor to query a SQL database](sql-database-connect-query-portal.md).
@@ -39,11 +39,10 @@ Get the connection information you need to connect to your database. You'll need
3939

4040
## Connect to your database
4141

42-
In SMSS, connect to your Azure SQL Database server.
42+
In SSMS, connect to your Azure SQL Database server.
4343

4444
> [!IMPORTANT]
4545
> An Azure SQL Database server listens on port 1433. To connect to a SQL Database server from behind a corporate firewall, the firewall must have this port open.
46-
>
4746
4847
1. Open SSMS.
4948

@@ -60,13 +59,13 @@ In SMSS, connect to your Azure SQL Database server.
6059

6160
![connect to server](./media/sql-database-connect-query-ssms/connect.png)
6261

63-
3. Select **Options** in the **Connect to Server** dialog box. In the **Connect to database** drop-down menu, select **mySampleDatabase**. If your working copy of the AdventureWorks database has a different database name, select it instead of **mySampleDatabase**.
62+
3. Select **Options** in the **Connect to Server** dialog box. In the **Connect to database** drop-down menu, select **mySampleDatabase**. Completing the quickstart in the [Prerequisites section](#prerequisites) creates an AdventureWorksLT database named mySampleDatabase. If your working copy of the AdventureWorks database has a different name than mySampleDatabase, then select it instead.
6463

6564
![connect to db on server](./media/sql-database-connect-query-ssms/options-connect-to-db.png)
6665

6766
4. Select **Connect**. The Object Explorer window opens.
6867

69-
5. To view the database's objects, expand **Databases** and then expand **mySampleDatabase**.
68+
5. To view the database's objects, expand **Databases** and then expand your database node.
7069

7170
![mySampleDatabase objects](./media/sql-database-connect-query-ssms/connected.png)
7271

@@ -133,7 +132,7 @@ Run this [INSERT](https://msdn.microsoft.com/library/ms174335.aspx) Transact-SQL
133132

134133
Run this [UPDATE](https://msdn.microsoft.com/library/ms177523.aspx) Transact-SQL code to modify your new product.
135134

136-
1. Replace the previous query with this one.
135+
1. Replace the previous query with this one that returns the new record created previously:
137136

138137
```sql
139138
UPDATE [SalesLT].[Product]
@@ -167,5 +166,3 @@ Run this [DELETE](https://msdn.microsoft.com/library/ms189835.aspx) Transact-SQL
167166
- To connect and query using Java, see [Connect and query with Java](sql-database-connect-query-java.md).
168167
- To connect and query using Python, see [Connect and query with Python](sql-database-connect-query-python.md).
169168
- To connect and query using Ruby, see [Connect and query with Ruby](sql-database-connect-query-ruby.md).
170-
171-

0 commit comments

Comments
 (0)