Microsoft SQL Server on-premises - Update SQL records
Use the Microsoft SQL Server on-premises - Update SQL records action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to update data in specific rows of a SQL table.
For more information about the Microsoft SQL Server on-premises connector, go to Microsoft SQL Server on-premises.
Configure the Microsoft SQL Server on-premises - Update SQL records action
-
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 Add condition to define which records to update.
Microsoft SQL Server on-premises - Update SQL records action fields and settings
Section |
Field |
Description |
Variable types |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(Unlabeled) |
The Microsoft SQL Server on-premises connection to use to update the records. To refresh the available connections, click |
(n/a) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table |
The SQL table you want to update records in. |
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 variable type is dependent on the column type in the SQL table. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Add condition |
Click Add condition to define which records to update. This builds a SQL WHERE statement defining what records to update. When: The column selected for the condition. Operator: The operator type of the conditional case statement, such as equals, does not equal, is empty, is not empty, contains, begins with, or ends with. Value: The specific value searched for. Summary: A short description of your condition. 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 | Records affected |
Stores the number of SQL records updated. |
Integer |