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

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,953 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,783 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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard