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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,707)