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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,912)