web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Run SQL query in Power...
Power Apps
Answered

Run SQL query in PowerApps

(0) ShareShare
ReportReport
Posted on by 89

Hi all

I got across @Mr-Dang-MSFT blog of executing a SQL query from powerapps,

https://www.youtube.com/watch?v=K_H5r0nzwy4

 

So far, I was able to set everything, just like the video, until I arrive at the "Response Body" field to populate. It says to add the Resultset.Table1, but it does not show in the  in the dynamic content list as an option. Same in the video, it does not show. How do I add it to the body field? 

Wilder1626_0-1615669185209.png

 

 

Thanks again for your help. 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Wilder1626 :

        If you cannot get the return value of ‘Execute a SQL query’ using Dynamic content, then I suggest that you can directly call the value of ‘Execute a SQL query’ using Expression.Something like:

    1.JPG

    On your side the expression may be:

    body('Execute_a_SQL_query_(V2)')?['resultsets']['Table1']

    Best Regards,
    Bof

  • Wilder1626 Profile Picture
    89 on at

    Huge thanks for your help. That does it pretty good. I will now be able to continue the rest of the procedure.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard