Skip to content

Commit 85dfe74

Browse files
20230604 edit pass for SEO, acrolinx
1 parent 678a8b4 commit 85dfe74

3 files changed

Lines changed: 25 additions & 23 deletions

File tree

‎azure-sql/database/database-advisor-implement-performance-recommendations.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Azure SQL Database learns and adapts with your application. Azure SQL Database h
1919

2020
## Performance overview
2121

22-
The **Performance overview** provides a summary of your database performance, and helps you with performance tuning and troubleshooting.
22+
The **Performance overview** in the Azure portal provides a summary of your database performance, and helps you with performance tuning and troubleshooting.
2323

2424
- If present, the **Recommendations** tile provides a breakdown of tuning recommendations for your database. Selecting this tile takes you to **[Performance recommendation options](database-advisor-find-recommendations-portal.md#viewing-recommendations)**.
2525
- The **Tuning activity** tile provides a summary of the ongoing and completed tuning actions for your database, giving you a quick view into the history of tuning activity. Selecting this tile takes you to the recommendations and tuning history for your database. For more information, see **[automatic tuning](automatic-tuning-overview.md)**.
-52.3 KB
Loading

‎azure-sql/database/query-editor.md‎

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about Query editor in the Azure portal.
55
author: grrlgeek
66
ms.author: jeschult
77
ms.reviewer: wiassaf, mbarickman
8-
ms.date: 03/20/2023
8+
ms.date: 06/04/2023
99
ms.service: sql-database
1010
ms.subservice: development
1111
ms.topic: conceptual
@@ -23,26 +23,27 @@ monikerRange: "= azuresql || = azuresql-db || = azuresql-mi"
2323
---
2424
# Query editor
2525

26-
Query editor (preview) is a tool to run SQL queries against Azure SQL Database in the Azure portal. It's designed for lightweight querying and object exploration in your database.
26+
The Query editor (preview) is a tool to run SQL queries against Azure SQL Database in the Azure portal. It's designed for lightweight querying and object exploration in your database. You can run T-SQL queries against your database, as well as edit data in the build-in tabular [data editor](#data-editor).
2727

28-
- For a quickstart on the query editor, see [Quickstart: Use the Azure portal query editor (preview) to query Azure SQL Database](connect-query-portal.md).
28+
- For a quickstart on the query editor, see [Quickstart: Use the Azure portal query editor (preview)](connect-query-portal.md).
2929
- For more advanced object explorer capabilities and management functions, use [Azure Data Studio](/sql/azure-data-studio/quickstart-sql-database) or [SQL Server Management Studio (SSMS)](connect-query-ssms.md).
3030

3131
## Connect via the query editor
3232

33-
There are two authentication options for query editor - SQL Authentication and Azure Active Directory Authentication.
33+
There are two authentication options for query editor: SQL Authentication or Azure Active Directory (Azure AD) Authentication.
3434

35-
### Permissions required to access the query editor
36-
37-
Users need at least the Azure role-based access control (RBAC) permission **Read access to the server and database** to use the query editor.
35+
### Authentication
3836

39-
### SQL Authentication
37+
For examples, see [Quickstart: Use the Azure portal query editor (preview) to query Azure SQL Database](connect-query-portal.md).
4038

41-
To use SQL Authentication to connect to an Azure SQL database via the query editor, you must have a login in the logical server's `master` database or a contained SQL user in the desired user database. For more information, see [Logins](logins-create-manage.md). Enter your username and password, then select **OK**.
39+
- To use SQL Authentication to connect to an Azure SQL database via the query editor, you must have a login in the logical server's `master` database or a contained SQL user in the desired user database. For more information, see [Logins](logins-create-manage.md).
40+
- Enter your username and password, then select **OK**.
41+
- To use Active Directory authentication to connect to an Azure SQL database via the query editor, your organization must have AD set up, and you must have an [Azure AD user created in the database](authentication-azure-ad-logins-tutorial.md). The Azure portal shows your current AD account.
42+
- Select `Continue as <user@domain>`.
4243

43-
### Active Directory authentication
44+
### Permissions required to access the query editor
4445

45-
To use Active Directory authentication to connect to an Azure SQL database via the query editor, your organization must have AD set up, and you must have an [Azure AD user created in the database](authentication-azure-ad-logins-tutorial.md). The Azure portal shows your current AD account. Select `Continue as <user@domain>`.
46+
Users need at least the Azure role-based access control (RBAC) permission **Read access to the server and database** to use the query editor.
4647

4748
## Navigate query editor
4849

@@ -52,7 +53,7 @@ There are three main sections of the query editor:
5253
- Object explorer
5354
- Query window
5455

55-
:::image type="content" source="media/query-editor/query-editor.png" alt-text="Screenshot that shows the query editor window with three red rectangles highlighting the sections.":::
56+
:::image type="content" source="media/query-editor/query-editor.png" alt-text="Screenshot from the Azure portal showing red rectangles highlighting the Query editor in the main menu and the Navigation bar, Object Explorer, and Query window.":::
5657

5758
### Navigation bar
5859

@@ -75,23 +76,25 @@ The object explorer allows you to view and perform tasks against your database's
7576

7677
The data editor allows you to modify data in an existing row, add a new row of data to the table, or delete a row of data. To access data editor, in the object explorer expand **Tables**, then select the ellipses to the right of the table name and select **Edit Data (Preview)**.
7778

78-
To modify data in an existing row, select the value you want to change, make your change, and then select **Save** at the top.
79+
**To modify data** in an existing row, select the value you want to change, make your change, and then select **Save** at the top.
80+
81+
- If the column is an identity column, you can't edit that value. You'll see the error: "Save failed: Failed to execute query. Error: Cannot update identity column *column_name*".
7982

80-
To add a new row, select **Create New Row** and enter the values you want to add. There are certain data types you cannot add or work with in this context.
83+
**To add a new row**, select **Create New Row** and enter the values you want to add. There are certain data types you can't add or work with in this context.
8184

82-
- If the column is an identity column, you cannot add a value in that field. You will see the error "Save failed: Can not set value in identity columns *column_name*" at the bottom.
83-
- Columns with default constraints are not honored. The data editor will not generate the default value, it expects you to enter a value. It is not recommended to use the data editor for tables that have default column constraints.
84-
- Computed columns are not calculated. You will see the error "Save failed: Failed to execute query. Error: The column *column_name* cannot be modified because it is either a computed column or is the result of a UNION operator." It is not recommended to use the data editor for tables that have computed columns.
85+
- If the column is an identity column, you can't add a value in that field. You'll see the error: "Save failed: Can not set value in identity columns *column_name*" at the bottom.
86+
- Columns with default constraints aren't honored. The data editor won't generate the default value, it expects you to enter a value. It isn't recommended to use the data editor for tables that have default column constraints.
87+
- Computed columns aren't calculated. You'll see the error "Save failed: Failed to execute query. Error: The column *column_name* cannot be modified because it is either a computed column or is the result of a UNION operator." It is not recommended to use the data editor for tables that have computed columns.
8588

86-
To delete a row of data, select the row and select **Delete Row**.
89+
**To delete a row** of data, select the row and select **Delete Row**.
8790

88-
- If the row has a primary key, and that primary key has a foreign key relationship to another table, when the row is deleted, the related rows in the other table(s) will also be deleted.
91+
- If the row has a primary key, and that primary key has a foreign key relationship to another table, when the row is deleted, the related rows in the other table(s) will also be deleted.
8992

9093
### Query window
9194

9295
This window allows you to type or paste a query, then run it. The results of the query are shown in the **Results** pane.
9396

94-
You can cancel your query. As noted under [Considerations and limitations](#considerations-and-limitations), there is a five-minute timeout period.
97+
You can cancel your query. As noted under [Considerations and limitations](#considerations-and-limitations), there's a five-minute timeout period.
9598

9699
The **Save query** button allows you to save the query text to your computer as a *.sql* file.
97100

@@ -116,8 +119,7 @@ The following considerations and limitations apply when connecting to and queryi
116119
### Connection considerations
117120

118121
- For public connections to the query editor, you need to [add your outbound IP address to the server's allowed firewall rules](firewall-create-server-level-portal-quickstart.md) to access your databases.
119-
120-
You don't need to add your IP address to the SQL server firewall rules if you have a Private Link connection set up on the server, and you connect to the server from within the private virtual network.
122+
- You don't need to add your IP address to the SQL server firewall rules if you have a Private Link connection set up on the server, and you connect to the server from within the private virtual network.
121123

122124
### Connection error troubleshooting
123125

0 commit comments

Comments
 (0)