Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Insert multiple rows with SQL connector


One of our vendors delivers a pipe delimited file for my company every evening ~6pm. I have a flow that successfully parses and inserts the records, however it takes about an hour to do so. This is because the SQL connector throttles to 100 calls per 10 seconds and the file is usually around 32,000 records. 


Is there a way I can insert multiple rows at a time? 

Info: I'm using a gateway and on-premise SQL Server, so writing the SQL directly is not available to me.

Community Support
Community Support

Hi @MPoe ,


SQL Server connector does have such limitations.

If you need to insert 32,000 records, it seems that it will take an hour or so.

Could you provide a screenshot of the Flow configuration?

Perhaps we can optimize the configuration to improve the efficiency of Flow execution.


Best Regards,

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

Hi Barry, thanks for the offer. Do you know of any other connectors that allow you to insert multiple rows at the same time, if the SQL Connector does not?


Here's the basic structure:

  • trigger: 6pm each day M-F
  • initialize several variables
    • CRLF: is a string of the enter key. most effective way I've found to handle new line splits
    • Fetch date: pulls today's date. is a variable so I can set other days easily for testing, back loading
    • Curve list: not used
  • HTTP: fetch the file contents. Returns a pipe( | ) delimited string
  • Split the string into an array on CRLF
  • Begin loop (tried 50x parrallel, too many failures. Now sequential, still testing to find right fit)
    • split first line into columns on |
    • check if line is valid. if not, ignore
    • reformat date strings into yyyy-MM-dd
    • still getting a /r line feed in last column, so remove it
    • insert row


Here are screenshots

ice flow 01.PNG


Here is what's in the loop:

ice flow 02.PNG

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (20,439)