I have Stored Procedure pipeline on Azure Data Factory, my Stored Procedure need to run with parameter using DateTime
, but I have a problem here, I need to Batch my Stored Procedure with differen parameter.
For Example
Stored Procedure 1, DateTime
value 2020-05-01
Stored Procedure 2, DateTime
value 2020-06-01
Stored Procedure 3, DateTime
value 2020-07-01
...
Can I using ForEach
method on this? So, this ForEach
will stored every step of Stored Procedure, and run it sequence on the pipeline
Based on your ask, you need to create a parameter or variable of type array with all the values in sequence. Use that as an input for the foreach activity and enable sequential execution of for each activity and within for each activity have a stored procedure activity with the input parameter as the for each activity execution loop value
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.