Azure SQL - Update SQL records
Use the Azure SQL -Update SQL records action A tool for building the processes, logic, and direction within workflows. to update SQL records.
For more information about the Azure SQL connector, go to Azure SQL.
Configure the Azure SQL - Update SQL records
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a Connection. If you do not have a connection, see Add a connection.
- Select the SQL Table.
- Specify the values of any required fields.
- Click the Add field button to add non-required record fields.
- Select the fields. Click Add.
- Specify the value of the fields.
- Click the Add condition button to define which records to update.
- Select the condition When and Operator values.
- Specify the Value that must be matched.
- Create or select a variable for the output.
Azure SQL - Update SQL Records action fields and settings
Section |
Field |
Description |
Variable types |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(Unlabeled) |
The Azure SQL connection is used to create, update, and delete records. To refresh the available connections, click . |
(n/a) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table | The list is populated based on the connection selected. Select the table that contains the records that you wish you update. | Text, Decimal, Integer, Boolean, DateTime, Collection | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Add fields |
Required column fields automatically display. Use the Add fields button to add any non-required fields that you need to specify a value for when updating the new record. The field type is based on the column type in the SQL table. Numerical precision, scale, date type, and maximum values are shown in the field sub-text. Read only column fields, like Identity, Calculated, or Timestamp, cannot be specified while creating a new record, and those field types are not available in this action. The following table shows which data types are supported:
|
Object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Add Condition |
Click Add condition to define which records to update. This builds a SQL WHERE statement defining what records to update.
For example, WHEN LastName equals Smith would update all the records in that table where Smith is the value of the LastName column. |
Text, Decimal, Integer, Boolean, DateTime, Collection | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output | Item | Stores the result of the action as an integer of the amount of records that were updated. | Integer |