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

Getting just value from SQL Stored Procedure

Good Morning, 

 

I have the next issue when I use Power Automate to execute a SQL Stored Procedure, 

 

The issue, is that I can access to the data on a proper way, but I get all the result set, ex: Encantado {“Table1”:[{“Nombre”:“Prueba Prueba Prueba”}]},


The fact is that I just receive the value when I save the variable with the value ResultSets, on a logic way I think that the one would be OutputParameters, but I don't get any value when I return the variable with the OutputParameters value, 

 

Anyone has faced this problem, and how I can get just the name {“Table1”:[{“Nombre”:“Prueba Prueba Prueba”}]} -> Prueba Prueba Prueba. 

Captura de pantalla 2021-06-02 113527.png

Many thanks to all, 

 

Regards,

 

2 REPLIES 2
rrovira
Microsoft
Microsoft

Hello, @oriolvillorbina!

 

I'm investigating a little bit to see if I find a workaround or if someone figured out how to fix this. In the meantime, I'd like to ask if you have an on-premise server. Solved: SQL Stored Procedure - Output parameters - Power Platform Community (microsoft.com) → The known limitations of the action include information about restrictions when it comes to on-premise servers. 

 

I'd like to know something, when you return the employee name and you store it in a variable, what you are getting is the Encantado {“Table1”:[{“Nombre”:“Prueba Prueba Prueba”}]} value, right? So, the variable is not empty?

rrovira
Microsoft
Microsoft

I'm not sure if this might help, but there's no harm in taking a look. Let me know if this gives an idea: Solved: Extracting Key data from SQL Query - Power Platform Community (microsoft.com)

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,646)