# Bulk Insert into MSSQL-Plus Node

**URL:** https://discourse.nodered.org/t/bulk-insert-into-mssql-plus-node/80777
**Category:** General
**Created:** [24 August 2023 16:52 UTC](https://discourse.nodered.org/t/bulk-insert-into-mssql-plus-node/80777 "2023-08-24T16:52:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KAMERONSWENSON](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@KAMERONSWENSON](https://discourse.nodered.org/u/KAMERONSWENSON)
#### Post date: [24 August 2023 16:52 UTC](https://discourse.nodered.org/t/bulk-insert-into-mssql-plus-node/80777/1 "2023-08-24T16:52:12Z")

</div>

Hello Everyone,

I am trying to perform a bulk insert into MSSQL-Plus Node that way I only run 1 connection rather than 100's. I have 100's of possible inserts each containing multiple values so I kept on getting ECONN errors because to many were trying to insert before the last one was complete. So I have an array of objects that I want to insert into sql each object being its own row in sql. Could someone help me create just as simple insert into a test table with just this data?

[{"name": "Bob", "age": 20}, {"name": "Mike", "age": 15}]

If someone could figure out the bulk statement of this it would be very helpful

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 August 2023 14:48 UTC](https://discourse.nodered.org/t/bulk-insert-into-mssql-plus-node/80777/2 "2023-08-26T14:48:24Z")

</div>

Have you looked at the other threads on the forum: [Search results for 'mssql bulk ' - Node-RED Forum](https://discourse.nodered.org/search?q=mssql%20bulk%20) ?

Have you tried the built in bulk demo? (`CTRL-I` -\> examples -\> node-red-contrib-mssql-plus) ?  
_If that is not showing for you then they are here: [https://github.com/bestlong/node-red-contrib-mssql-plus/tree/master/examples](https://github.com/bestlong/node-red-contrib-mssql-plus/tree/master/examples)_

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [25 October 2023 14:49 UTC](https://discourse.nodered.org/t/bulk-insert-into-mssql-plus-node/80777/3 "2023-10-25T14:49:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
