cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
galap
Regular Visitor

use SQL SP results as parameters for another SQL SP

Hi,

 

Im trying to run an SQL SP which return table results, and then use the results as parameters in another SP. 

how can I extract the return results and format them as table? 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @galap,

 

You could get the result of the first SQL SP, then put it into the Parse JSON action to process, then you could get these parameters for the other SQL SP.

About how to use Parse JSON action, please refer to this blog:

https://spmaestro.com/handling-json-in-microsoft-flow/

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @galap,

 

You could get the result of the first SQL SP, then put it into the Parse JSON action to process, then you could get these parameters for the other SQL SP.

About how to use Parse JSON action, please refer to this blog:

https://spmaestro.com/handling-json-in-microsoft-flow/

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,417)