cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
doubles
Level: Powered On

Select from results of a sql stored procedure

I am trying to select from the results of a SQL stored procedure in a flow, but no dynamic content is available in the From when I add a Select data operator. (Was following along with the methodology in this post: https://powerapps.microsoft.com/en-us/blog/return-an-array-from-a-sql-stored-procedure-to-powerapps-...

 

After searching around a bit I thought the problem might be that I am accesing a SQL server via an on-premises gateway per these posts: 

https://powerusers.microsoft.com/t5/I-Found-A-Bug/SQL-Execute-Stored-Procedure-Data-Gateway-returns-...

https://powerusers.microsoft.com/t5/Building-Flows/Checking-for-empty-stored-procedure-result/td-p/6...

 

However, I cannot even test out the solution proposed in these posts, as the advanced editor does not seem to be available in the Condition per this issue: https://github.com/MicrosoftDocs/flow-docs/issues/96

 

Any ideas would be appreciated.

 

Flow select.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Select from results of a sql stored procedure

Hi @doubles ,

 

When using Stored procedure on an on-premises SQL Server, there are 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.

You could try with SQL Server in could service and take the following blog for a reference:

https://powerapps.microsoft.com/en-us/blog/return-an-array-from-a-sql-stored-procedure-to-powerapps-...

 

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.
1 REPLY 1
Community Support Team
Community Support Team

Re: Select from results of a sql stored procedure

Hi @doubles ,

 

When using Stored procedure on an on-premises SQL Server, there are 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.

You could try with SQL Server in could service and take the following blog for a reference:

https://powerapps.microsoft.com/en-us/blog/return-an-array-from-a-sql-stored-procedure-to-powerapps-...

 

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.

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 279 members 3,935 guests
Please welcome our newest community members: