cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SumanKoduri
Helper V
Helper V

How to Import Excel Sheet Data into SQL Server using Microsoft Flow

Hi 

 

Can someone guide me to import data from Excel Sheet to SQL Server

and

from SQL Server Tables to EXCEL.

 

Regards

 

 

9 REPLIES 9
v-alzhan-msft
Community Support
Community Support

Hi @SumanKoduri ,

 

The screenshot below for importing data from Excel table to SQL Server:

1.png 

 

The screenshot below for importing data from SQL Server to Excel table:

2.png 

 

 

Best regards,

Alice       

 

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

Hi V-alzhan,

 

Thank you its working fine, but I had an issue regarding...when we are trying to import Integer  values into oracle / sql server from Excel showing error . Could you please help me to import int values.

 

 

Regards

Suman

 

Hi , Can you please show the screenshot of insert row shape?

Hi - new to Power Automate and trying to do this as well. Issue I'm having is around the options to fill in on the Get worksheets step. I'm trying to pull data from a network share into an on-prem sql server db. Whenever I get to the Excel piece after I select List rows present in a table it gets confusing as it appears to be asking for a sharepoint site. Could you point me in the correct direction around these options for a network share?

 

Many Thanks!

Hello Alice,

Thanks for the Excel-to-DB Flow. but this loads only a partial  number of records. I need to load at least 8000 records each time ( and the data will Continue to grow each month).

Is there a way to upload ALL data and in BULK using powerautomate?

 

-Su

you can check the pagination threshold 

You have to have installed the On-prem data gateway on the server with the shared folders, then you enter in the shared file location.

neff
New Member

Is it possible to alter the first step (Excel table to SQL) like this:

 

Button -> List rows in Excel table -> Apply to Each -> Condition 1: for new row, insert row into SQL; Condition 2: for a modified row, update existing SQL row; Condition 3: for a deleted row, can this be chosen to keep or remove from SQL row? 

takolota
Community Champion
Community Champion

If anyone needs to insert, update, or delete large amounts of data to SQL, then you can try this batch SQL CRUD template:

https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/SQL-Batch-Create-Read-Update-and-Delete/...

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,933)