csv-sql 0.1.2

A simple CLI tool to generate SQL tables from CSV files
csv-sql-0.1.2 is not a library.

CSV-SQL

A simple CLI tool to generate SQL tables from CSV files

  • CSV-SQL will generate SQL table creation statements from CSV files, currently with headers and TEXT data types only.
  • The name of the CSV file will be used as the name of the table and the name of resulting sql type.

Usage

Generate SQL table creation statements from CSV files

csv-sql [FILE_PATHS]...

See all options

csv-sql --help

TODO

  • Generate SQL table creation statements from CSV files with headers and TEXT data types
  • ... without headers
  • ... with headers and data types
  • ... with headers, data types and primary keys
  • ... with headers, data types, primary keys and constraints
  • ... with headers, data types, primary keys, constraints and foreign keys