cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Baskaran_0709
Frequent Visitor

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

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yamao-msft
Community Support
Community Support

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors
Users online (1,631)