Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

  • michaelshparber Profile Picture
    111 on at
    Re: SQL Update Row with more than 1 Row ID

    @DTreg1  

    Just beware of SQL injection...

  • DTreg85 Profile Picture
    111 on at
    Re: SQL Update Row with more than 1 Row ID

    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!

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: SQL Update Row with more than 1 Row ID

    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.

  • Jcook Profile Picture
    7,779 Most Valuable Professional on at
    Re: SQL Update Row with more than 1 Row ID
    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
  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on at
    Re: SQL Update Row with more than 1 Row ID

    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/

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492