Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryosama/csv2sql
Request CSV files like SQL databases
https://github.com/ryosama/csv2sql
csv interface perl sql tool
Last synced: 24 days ago
JSON representation
Request CSV files like SQL databases
- Host: GitHub
- URL: https://github.com/ryosama/csv2sql
- Owner: ryosama
- Created: 2015-03-17T14:25:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-17T14:33:41.000Z (almost 10 years ago)
- Last Synced: 2023-09-09T23:10:19.948Z (over 1 year ago)
- Topics: csv, interface, perl, sql, tool
- Language: Perl
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
csv2sql
==========
Request CSV files like SQL databasesHow it works
============
The script convert the CSV file into a SQLite database and request this database with SQL command.
Then it displays the result like others SQL request tools.Usage
=====
--sql=select ... from csv_file.csv ...--dont-create
Do not recreate the sqlite database, only request the existing one--delimiter=;
Delimiter for CSV file. Default caracter is ;--usage ou --help
Display this message--debug
Display more information about the processExample
=======
perl csv2sql.pl "--sql=SELECT * FROM my_records.csv WHERE seller_name LIKE 'bob%'"