Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 394 Bytes

File metadata and controls

21 lines (19 loc) · 394 Bytes

csv2sqltable GitHub

Parses spreadsheets and insert into a SQL Table.

Usage

Clone it and run:

npm install
node csv2sqltable.js <path_to_file> <table_name>

Configuration

{
  "host": "localhost",
  "user": "root",
  "password": "",
  "database": "mydb",
  "split_char": ",",
  "insert_number": 30000
}