Skip to content

Node.js script to convert excel files into INSERT or UPDATE statements

Notifications You must be signed in to change notification settings

rm-richard/excel-to-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

excel-to-sql

Node.js script to convert .xls and .xlsx files into INSERT or UPDATE statements.

Install and run

$ npm install
$ node index.js

Prompts

  1. Source excel file
  2. Target .sql filename
  3. Target [schema].table
  4. What type of statement to generate? INSERT / UPDATE
  5. Header title of the Primary Key column? (only if UPDATE was chosen)

License

MIT

About

Node.js script to convert excel files into INSERT or UPDATE statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published