Skip to content

Commit 6f43776

Browse files
author
stevestein
committed
acrolinx pass
1 parent 2ff6a90 commit 6f43776

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/sql-operations-studio/tutorial-sql-editor.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This tutorial requires the SQL Server or Azure SQL Database *TutorialDB*. To cre
4949
1. On the dashboard, right-click **dbo.Customers** (in the search widget) and select **Edit Data**.
5050

5151
> [!TIP]
52-
> For databases with many objects use the search widget to quickly locate the table, view, etc. that you're looking for.
52+
> For databases with many objects, use the search widget to quickly locate the table, view, etc. that you're looking for.
5353
5454
![quick search widget](./media/tutorial-sql-editor/quick-search-widget.png)
5555

@@ -59,7 +59,7 @@ This tutorial requires the SQL Server or Azure SQL Database *TutorialDB*. To cre
5959

6060
## Use T-SQL snippets to create stored procedures
6161

62-
SQL Operations Studio proivides many built-in T-SQL snippets for quickly creating statements.
62+
SQL Operations Studio provides many built-in T-SQL snippets for quickly creating statements.
6363

6464

6565
1. Open a new query editor by pressing **Ctrl+N**.
@@ -68,12 +68,12 @@ SQL Operations Studio proivides many built-in T-SQL snippets for quickly creatin
6868

6969
![snippet-list](./media/tutorial-sql-editor/snippet-list.png)
7070

71-
3. The create stored procedure snippet has two fields set up for quick edit, *StoredProcedureName* and *SchemaName*. Select *StoredProcedureName*, right-click and select **Change All Occurrences**. Now type *getCustomer* and all *StoredProcedureName* entries change to *getCustomer*.
71+
3. The create stored procedure snippet has two fields set up for quick edit, *StoredProcedureName* and *SchemaName*. Select *StoredProcedureName*, right-click, and select **Change All Occurrences**. Now type *getCustomer* and all *StoredProcedureName* entries change to *getCustomer*.
7272

7373
![snippet](./media/tutorial-sql-editor/snippet.png)
7474

7575
5. Change all occurrences of *SchemaName* to *dbo*.
76-
6. The snippet contains placeholder parameters and body text that needs updating. The *EXECUTE* statement also contains placeholder text because it doesn't know how many parameters your procedure will ultimately have. For this tutorial update the snippet so it looks like the following:
76+
6. The snippet contains placeholder parameters and body text that needs updating. The *EXECUTE* statement also contains placeholder text because it doesn't know how many parameters the procedure will have. For this tutorial update the snippet so it looks like the following code:
7777

7878
```sql
7979
-- Create a new stored procedure called 'getCustomer' in schema 'dbo'
@@ -108,7 +108,7 @@ SQL Operations Studio proivides many built-in T-SQL snippets for quickly creatin
108108

109109
5. To create the stored procedure and give it a test run, press **F5**.
110110

111-
The stored procedure is now created, and the **RESULTS** pane displays the returned customer in JSON. Click the returned record to see formatted JSON.
111+
The stored procedure is now created, and the **RESULTS** pane displays the returned customer in JSON. To see formatted JSON, click the returned record.
112112

113113

114114
## Use Peek Definition
@@ -126,7 +126,7 @@ SQL Operations Studio provides the ability to view an objects definition using t
126126
@json_val nvarchar(max)
127127
```
128128

129-
4. Replace the body of the stored procedure with the following:
129+
4. Replace the body of the stored procedure with the following code:
130130
```sql
131131
INSERT INTO dbo.Customers
132132
```
@@ -148,7 +148,7 @@ SQL Operations Studio provides the ability to view an objects definition using t
148148
)
149149
```
150150
7. Delete (or comment out) the *EXECUTE* command at the bottom of the query.
151-
8. The entire statement should be the following ():
151+
8. The entire statement should look like the following code:
152152

153153
```sql
154154
-- Create a new stored procedure called 'setCustomer' in schema 'dbo'
@@ -179,7 +179,7 @@ SQL Operations Studio provides the ability to view an objects definition using t
179179

180180
8. To create the *setCustomer* stored procedure, press **F5**.
181181

182-
## Use save query results as JSON to test our stored procedure
182+
## Use save query results as JSON to test the setCustomer stored procedure
183183

184184
The *setCustomer* stored procedure created in the previous section requires JSON data be passed into the *@json_val* parameter. This section shows how to get a properly formatted bit of JSON to pass into the parameter so you can test the stored procedure.
185185

@@ -225,7 +225,7 @@ In this tutorial, you learned how to:
225225
> * Learn about database object details using Peek Definition and Go to Definition
226226
227227

228-
To learn how to enable the **five slowest queries** sample insight, complete the next tutorial:
228+
To learn how to enable the **five slowest queries** widget, complete the next tutorial:
229229

230230
> [!div class="nextstepaction"]
231231
> [Enable the slow queries sample insight widget](tutorial-qds-sql-server.md)

0 commit comments

Comments
 (0)