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 Automate / SQL Update Row with mo...
Power Automate
Unanswered

SQL Update Row with more than 1 Row ID

(0) ShareShare
ReportReport
Posted on by 111

Hello,

 

I know that right now, if I want to update a SQL row, it's looking for a "Row Id" of one value. I'm just wondering if there is any future or progress on looking at an option to be able to update a table with more than one Primary Key column?

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @DTreg1  there is no update into SQL server conector.

    https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=power%2Cautomate

    here more updates

    https://flow.microsoft.com/en-us/blog/

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at
    Hello @DTreg1
    consider submitting your idea:
    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @DTreg1,

     

    If you want to update a table with more than one Primary Key column, you could Get rows And Filter Query to get these rows you want, then update Rows by using the ID.Annotation 2020-03-02 110756.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • DTreg85 Profile Picture
    111 on at

    Hi @v-litu-msft ,

     

    Thank you for the reply, I'm not positive if this will work for on-prem servers like in my case. I was actually able to do another work around though that it actually a little more universally useful. I've created a stored procedure to "EXEC (@SQLSTATEMENT)". I then pass that parameter to anything I need and build the update/insert/delete statement inside the app.

     

    So far so good!

  • michaelshparber Profile Picture
    111 on at

    @DTreg1  

    Just beware of SQL injection...

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard