cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KroonOfficeSol
Resident Rockstar
Resident Rockstar

SQL Stored Procedure - Output parameters

Source is a SQL Server, it on premise and connected through a gateway.


From Flow I call a Stored Procedure, in which I have declared an output parameter

@XMLFile XML OUTPUT

Now I don't get back the output parameters from my stored procedure, see picture
2019-01-24 10_37_38-Edit your flow _ Microsoft Flow.png

 

I noticed when I do this in an Azure SQL Server instance, so whithout a data gateway, it will return the output parameter as expected.

 

So my question is if anybody knows if this is a bug, a limitation or If I'm doïng something wrong?

 

Hope someone can help.

 

Paul

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @KroonOfficeSol,

 

When invoking a Stored Procedure on an on-premises SQL Server, we have the following limitations:

  • Output values for OUTPUT parameters are not returned. You can still specify input values for OUTPUT parameters.
  • Return value is not available.
  • Only the first result set is returned.
  • Dynamics schemas are not supported for result sets.

Please check the following doc for more details:

https://docs.microsoft.com/en-us/connectors/sql/

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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-yamao-msft
Community Support
Community Support

Hi @KroonOfficeSol,

 

When invoking a Stored Procedure on an on-premises SQL Server, we have the following limitations:

  • Output values for OUTPUT parameters are not returned. You can still specify input values for OUTPUT parameters.
  • Return value is not available.
  • Only the first result set is returned.
  • Dynamics schemas are not supported for result sets.

Please check the following doc for more details:

https://docs.microsoft.com/en-us/connectors/sql/

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (1,301)