Skip to main content

Notifications

Community site session details

Community site session details

Session Id : XJ+0/GyI28t8SOwQZIUy/r
Power Automate - Building Flows
Answered

SQL Server - Excel: How to insert data from excel to Sql Server

Like (0) ShareShare
ReportReport
Posted on 1 Oct 2018 13:42:07 by 10

Hi Team,

 

I Have an excel file with 20 plus rows, I want to insert all the rows in the SQL server. I had tried maximum with various solutions but I can't able to find the exact one.

 

For more reference, I have attached the screenshot with thisi can't able to fetch the column namesi can't able to fetch the column names

 Thanks in advance

Baskaran

 

 

 

  • Verified answer
    v-yamao-msft Profile Picture
    on 03 Oct 2018 at 08:28:03
    Re: SQL Server - Excel: How to insert data from excel to Sql Server

    Hi @Baskaran_0709,

     

    It seems that you have set the ID as the Primary key, and I assume that it is of data type int. While in the flow, there is no matched column type can be selected directly.

    Please make sure in the Excel table, you do have the corresponding columns, then try to use the following code to get the value:

    item()?['id']

    Image for you reference:

    1.PNG

     

    Best regards,

    Mabel Mao

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,765 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started