Azure SQL - Create a SQL record
Use the Azure SQL - Create a SQL record action A tool for building the processes, logic, and direction within workflows. to insert a new row in a SQL table. This adds new data to the SQL table.
For more information about the Azure SQL connector, go to Azure SQL.
Configure the Azure SQL - Create a SQL record
-
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 you want to add records to.
- Click the Add field button to add fields.
-
Select the fields you want and click Add.
- Specify the value of the added fields.
Azure SQL - Create a SQL record 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 to add records to. | Text, Decimal, Integer, Boolean, DateTime, Collection | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Add Fields |
Required fields are displayed automatically. Use the Add fields button to add any 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:
|
The variable type is dependent on the column type in the SQL table. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output | Item |
Stores the result of the action as an object. The following values are returned:
|
Object |