Skip to content

Commit ff74e80

Browse files
Acrolinx flags
1 parent 68bc74f commit ff74e80

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-functions/functions-bindings-azure-sql-trigger.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For configuration details for change tracking for use with the Azure SQL trigger
2222

2323
## Functionality Overview
2424

25-
The Azure SQL Trigger binding uses a polling loop to check for changes, triggering the user function when changes are detected. At a high level the loop looks like this :
25+
The Azure SQL Trigger binding uses a polling loop to check for changes, triggering the user function when changes are detected. At a high level the loop looks like this:
2626

2727
```
2828
while (true) {
@@ -32,13 +32,13 @@ while (true) {
3232
}
3333
```
3434

35-
Changes will always be processed in the order that their changes were made, with the oldest changes being processed first. A couple notes about this :
35+
Changes will always be processed in the order that their changes were made, with the oldest changes being processed first. A couple notes about this:
3636

3737
1. If changes to multiple rows are made at once the exact order that they'll be sent to the function is based on the order returned by the CHANGETABLE function
38-
2. Changes are "batched" together for a row - if multiple changes are made to a row between each iteration of the loop than only a single change entry will exist for that row that shows the difference between the last processed state and the current state
38+
2. Changes are "batched" together for a row - if multiple changes are made to a row between each iteration of the loop then only a single change entry will exist for that row that shows the difference between the last processed state and the current state
3939
3. If changes are made to a set of rows, and then another set of changes are made to half of those same rows then the half that wasn't changed a second time will be processed first. This is due to the above note with the changes being batched - the trigger will only see the "last" change made and use that for the order it processes them in
4040

41-
See [Work with change tracking](/sql/relational-databases/track-changes/work-with-change-tracking-sql-server) for more information on change tracking and how it is used by applications such as Azure SQL triggers.
41+
See [Work with change tracking](/sql/relational-databases/track-changes/work-with-change-tracking-sql-server) for more information on change tracking and how it's used by applications such as Azure SQL triggers.
4242

4343
## Example usage
4444

@@ -139,7 +139,7 @@ In addition to the required ConnectionStringSetting [application setting](./func
139139

140140
## Set up change tracking (required)
141141

142-
Setting up change tracking for use with the Azure SQL trigger requires two steps. These steps can be completed from any SQL tool that supports running queries, including [VS Code](/sql/tools/visual-studio-code/mssql-extensions), [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio) or [SQL Server Management Studio](/sql/ssms/download-sql-server-management-studio-ssms).
142+
Setting up change tracking for use with the Azure SQL trigger requires two steps. These steps can be completed from any SQL tool that supports running queries, including [Visual Studio Code](/sql/tools/visual-studio-code/mssql-extensions), [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio) or [SQL Server Management Studio](/sql/ssms/download-sql-server-management-studio-ssms).
143143

144144
1. Enable change tracking on the SQL database, substituting `your database name` with the name of the database where the table to be monitored is located:
145145

@@ -167,7 +167,7 @@ Setting up change tracking for use with the Azure SQL trigger requires two steps
167167
168168
## Enable runtime-driven scaling
169169
170-
Optionally, your functions can scale automatically based on the amount of changes that are pending to be processed in the user table. To allow your functions to scale properly on the Premium plan when using SQL triggers, you need to enable runtime scale monitoring.
170+
Optionally, your functions can scale automatically based on the number of changes that are pending to be processed in the user table. To allow your functions to scale properly on the Premium plan when using SQL triggers, you need to enable runtime scale monitoring.
171171
172172
[!INCLUDE [functions-runtime-scaling](../../includes/functions-runtime-scaling.md)]
173173
@@ -184,4 +184,4 @@ Optionally, your functions can scale automatically based on the amount of change
184184
> [!NOTE]
185185
> In the current preview, Azure SQL triggers are only supported by [C# class library functions](functions-dotnet-class-library.md)
186186
187-
::: zone-end
187+
::: zone-end

0 commit comments

Comments
 (0)