Skip to content

Commit beef325

Browse files
author
stevestein
committed
edits
1 parent 07aa34d commit beef325

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Query a SQL Database using the query editor in the Azure portal
3-
description: Learn how to connect to SQL Database in the Azure portal by using the SQL Query Editor. Then, run Transact-SQL (T-SQL) statements to query and edit data.
3+
description: Learn how to use the Query Editor to run Transact-SQL (T-SQL) queries against an Azure SQL Database.
44
keywords: connect to sql database,query sql database, azure portal, portal, query editor
55
services: sql-database
66
ms.service: sql-database
@@ -15,7 +15,10 @@ ms.date: 03/11/2020
1515
---
1616
# Quickstart: Use the Azure portal's query editor to query a SQL database
1717

18-
The query editor is a tool in the Azure portal for running SQL queries against your Azure SQL Database or Azure Synapse Analytics (formerly SQL Data Warehouse). In this quickstart, you'll use the query editor to run Transact-SQL (T-SQL) queries.
18+
The query editor is a tool in the Azure portal for running SQL queries against your Azure SQL Database or Azure Synapse Analytics (formerly SQL Data Warehouse).
19+
20+
In this quickstart, you'll use the Azure portal's SQL Database query editor to run Transact-SQL (T-SQL) queries against an Azure SQL Database.
21+
1922

2023
## Prerequisites
2124

@@ -25,15 +28,15 @@ To complete this quickstart you need the AdventureWorksLT sample database. If yo
2528

2629
### Configure network settings
2730

28-
If you get an error in the query editor saying: *Your local network settings might be preventing the Query Editor from issuing queries. Please click here for instructions on how to configure your network settings*, or *A connection to the server could not be established. This might indicate an issue with your local firewall configuration or your network proxy settings.*. The following important information should help with these errors:
31+
If you get one of the following errors in the query editor: *Your local network settings might be preventing the Query Editor from issuing queries. Please click here for instructions on how to configure your network settings*, or *A connection to the server could not be established. This might indicate an issue with your local firewall configuration or your network proxy settings.*. The following important information should help with these errors:
2932

3033
> [!IMPORTANT]
3134
> The query editor uses ports 443 and 1443 to communicate. Ensure you have enabled outbound HTTPS traffic on these ports. You also need to [add your outbound IP address to the server's allowed firewall rules](sql-database-server-level-firewall-rule.md) to access your databases and data warehouses.
3235
3336

3437
## Open the SQL Database Query Editor
3538

36-
1. Sign in to the [Azure portal](https://portal.azure.com/) and select your SQL database.
39+
1. Sign in to the [Azure portal](https://portal.azure.com/) and select the SQL database you want to query.
3740

3841
2. In the **SQL database** menu, select **Query editor (preview)**.
3942

@@ -43,9 +46,9 @@ If you get an error in the query editor saying: *Your local network settings mig
4346

4447
## Connect using SQL Authentication
4548

46-
Even though you're signed in to the portal, you still need to provide credentials to access the SQL database. If you use Azure Active Directory to connect to your database, skip to [the following section](#connect-using-azure-active-directory).
49+
Even though you're signed into the portal, you still need to provide credentials to access the SQL database. For using Azure Active Directory to connect to your database, skip to [the following section](#connect-using-azure-active-directory).
4750

48-
1. In the **Login** page, under the **SQL server authentication** label, enter a **Login** and **Password** for a user that has access to the database. If you're not sure, use the login and password for the Server admin of the database's server.
51+
1. In the **Login** page, under **SQL server authentication**, enter a **Login** and **Password** for a user that has access to the database. If you're not sure, use the login and password for the Server admin of the database's server.
4952

5053
![sign in](./media/sql-database-connect-query-portal/login-menu.png)
5154

@@ -60,6 +63,8 @@ Configuring an Azure Active Directory (Azure AD) administrator enables you to us
6063
> * Email accounts (for example, outlook.com, gmail.com, yahoo.com, and so on) aren't yet supported as Azure AD admins. Make sure to choose a user created either natively in the Azure AD, or federated into the Azure AD.
6164
> * Azure AD admin sign in doesn't work with accounts that have 2-factor authentication enabled.
6265
66+
### Set an Active Directory admin for the database server
67+
6368
1. In the Azure portal, select your SQL server.
6469

6570
2. On the **SQL server** menu, select **Active Directory admin**.

0 commit comments

Comments
 (0)