Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 2e6Rlr36dBK9POcMIa6O5L
Power Automate - Building Flows
Answered

Update SQL table from excel file at sharepoint

Like (0) ShareShare
ReportReport
Posted on 29 Sep 2021 02:28:39 by 144

Hi friends, 

 

I would like to update the SQL table from excel file where stored in Sharepoint.  The excel file in Sharepoint will be modified as the time goes by and it will contain the existing and updated data.

I created this flow: 

tracytran_0-1632989090720.png

 

However, It inserts all rows in excel file to SQL tables, which has existed rows same as in excel file. It leads to duplicate data. What I want is SQL table have the same data with excel file and no redundant/duplicated data.

 

Could anyone please help me with this flow?

Any help is highly appreciated. 

 

 

  • Verified answer
    tracytran Profile Picture
    144 on 30 Sep 2021 at 11:19:44
    Re: Update SQL table from excel file at sharepoint

    Here is the flow for this issue: 

    tracytran_0-1633000773752.png

     

  • tracytran Profile Picture
    144 on 29 Sep 2021 at 06:56:10
    Re: Update SQL table from excel file at sharepoint

    @eric-cheng Thank for asking. 

     

    Will the Excel file be modified or will it be a new Excel file uploaded to SP?

    ==> The excel file will be modified as the time goes by. No new excel file uploaded to SP

    Will the Excel file contain existing and updated data or just new data?

    ==> The excel file will contain existing and updated data. 

    If you have any questions, please let me know

  • eric-cheng Profile Picture
    5,171 on 29 Sep 2021 at 02:52:39
    Re: Update SQL table from excel file at sharepoint

    Hi @tracytran ,

     

    Will the Excel file be modified or will it be a new Excel file uploaded to SP?

     

    Will the Excel file contain existing and updated data or just new data?

     

    Will you also require SQL to update all existing records based on Excel or just insert the data straight from Excel?

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 66 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 65

#3
rzaneti Profile Picture

rzaneti 41 Super User 2025 Season 1

Overall leaderboard
Loading started