/csv2sql

A simple node.js script to convert an CSV file's headers into a SQL create table statement

Primary LanguageJavaScriptMIT LicenseMIT

csv2sql

A simple Node script to convert an CSV file's headers into a SQL create table statement

Requires NodeJs to be installed and setup.

Usage:

csv2sql.js -f [path to file] -t [table name]

Detailed Node instructions for newbies

  1. install Node (above)
  2. clone this repo to your machine
  3. open the Node CLI (or your own)
  4. change directories to this repo in the CLI
  5. run node install
  6. once installed, run node csv2sql.js --help and follow instructions there.