Skip to content

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.

License

Notifications You must be signed in to change notification settings

Dagogo-Clinton-Uranta/csv-to-sql-insert

This branch is 2 commits ahead of gitdagray/csv-to-sql-insert:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d941a0a Β· Jan 26, 2024

History

30 Commits
Dec 21, 2023
Jan 26, 2024
Jan 26, 2024
Jan 26, 2024
Dec 22, 2023
Dec 22, 2023
Dec 22, 2023
Dec 22, 2023
Dec 21, 2023
Dec 22, 2023
Dec 21, 2023
Dec 22, 2023
Jan 26, 2024
Dec 22, 2023
Jan 26, 2024
Jan 26, 2024
Jan 26, 2024
Jan 26, 2024

Repository files navigation

csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.

Usage βš™

  1. Confirm you have a directory named csv
  2. Confirm you have a directory named sql
  3. Save your input CSV file in the csv directory
  4. In a terminal window, first run npm install to install dependencies and then run npm start YourFileName
  5. Watch the terminal window for any error messages
  6. Your SQL insert statement will be saved in sql/YourFileName.sql

Support πŸ‘¨β€πŸ’»

Contributing πŸ› 

Please read CONTRIBUTING.md prior to contributing.

Code of Conduct

Please see CODE_OF_CONDUCT.md.

About

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.0%
  • JavaScript 43.0%