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

Update SQL table with SharePoint Data

(0) ShareShare
ReportReport
Posted on by

I have created a SharePoint List and then imported the data into a SQL table. I'm trying to use the "When an existing item is modified, update a SQL row" flow, but I do not have a complement value in my SharePoint list for the Row ID in SQL. The ID field in SQL would match the ID field in the SharePoint List. Any idea on what value should be the Row ID should be? My ID field has value starting at 176,177,178 etc. while Row ID in the SQL table starts with 1,2,3, etc.

 

 

 

 

SQL.jpg

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    In principle, there is a need for a column similar to primary key in both SQL Table and the List to make each row correspond to each item.

    But it seems that you don't have such a column here, ID and Row ID should be able to play such a role, but from your description they don't seem to matter.

    If your situation is exactly 176 corresponds to 1,177 corresponds to 2, and so on, you could consider using the add() function, subtracting 175 from the ID, and then configuring it in the Update row.

    It is worth noting that “When an existing item is modified” is actually “When an item is created or modified”. If an item is created, it seems that the matching Row iD in the SQL table cannot be found.

    So if it is possible, the best way is to create a column similar to primary key in the list and SQL Table, in order to really solve the problem.

     

    Best Regards,

    Barry

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard