Skip to content

ryosama/csv2sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

csv2sql

Request CSV files like SQL databases

How 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 process

Example

perl csv2sql.pl "--sql=SELECT * FROM my_records.csv WHERE seller_name LIKE 'bob%'"

About

Request CSV files like SQL databases

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages