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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update table from SQL ...
Power Apps
Answered

Update table from SQL Procedure

(0) ShareShare
ReportReport
Posted on by 402

What do you think would be the best way to update a table in DataVerse from the result set of a SQL server stored procedure?  I have made a power automate to get a JSON file where I probably could create a csv to save into a share and then have a scheduled dataflow from DataVerse run?  Or is there a good way to take the Result set and update / create the rows in the Dataverse table?  

 

I have been manually running the procedure, copying the results out to a csv, then having the dataflow run and do its thing.  I just want to fully automate this process.

 

Thanks for the suggestions

I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    @iskguy, I have done something similar with the SQL Views, if you can create a view from that Stored Procedure, you can then use Dataflowas to load the data from the view into a Dataverse table. Remember that you will treat the SQL view as a Table when you are configuring the data flow.

     

     

    Regards,
    Ahmed
    If my reply helped you, please give a 👍. And if it has solved your issue, please consider Accepting it as the Solution to help other members of the community find it more.

     

     

     

     

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @iskguy ,

     

    Have you thought about using Power Automate with the SQL Connector?  https://docs.microsoft.com/en-us/connectors/sql/ Some limitations exist around the output of stored procedures but hopefully these don't hinder you.  You can then take the information from your stored proc results and utilize the Dataverse connector to add / update / delete etc. rows.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard