Insert multiple columns and rows into SQL Server with node js
问题 I'm trying to to make a script that reads from a nosql and inserts into a SQL Server database. That said I'm reading collections dynamically, so I need something to do things like var columns = [ 1, 2, 3, 4 ...] var values = [a, b, c ,4 ...] request.query("INSERT INTO TABLE (" + [columns] + ") VALUES ( " [values] ");" I have some collections with up to like 27 columns and I can't hog the database by inserting each value as I have like 20.000.000 registers to do... can't find anything that can