Azure SQL -Execute a SQL stored procedure
Use the Azure SQL - Execute a SQL stored procedure action A tool for building the processes, logic, and direction within workflows. to execute a SQL stored procedure.
For more information about the Azure SQL connector, go to Azure SQL.
Configure the Azure SQL - Execute a SQL stored procedure
-
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 Stored procedure.
- Specify the Item limit.
- If the stored procedure has input parameters, they will be added automatically.
- Create or select a variable for the output.
Note: 'EXECUTE' cannot be used within a stored procedure as this is not supported by the Azure SQL connector. See EXECUTE (Transact-SQL) for additional information.
Azure SQL - Execute a SQL stored procedure 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) |
|
Stored Procedure | The stored procedure list is populated based on the connection selected. Select the stored procedure to execute. | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Item Limit | Item limit contains the maximum amount of rows that will be returned from the stored procedure result. The default is 1000 items and the maximum is 5000 items. Input the item limit. | Integer | |
Parameters | The parameters required for the stored procedure. The parameters are added automatically. | Text, Decimal, Integer, Boolean, DateTime, Collection | |
Output | Items |
Stores the result of the action as an object. The following values are returned:
|
Object |