💾 Archived View for freeshell.de › tldr › csvsql.gmi captured on 2023-09-28 at 16:22:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

csvsql

Generate SQL statements for a CSV file or execute those statements directly on a database.
Included in csvkit.

More information.

csvsql {path/to/data.csv}
csvsql --insert --db "{mysql://user:password@host/database}" {data.csv}
csvsql --query "{select * from 'data'}" {data.csv}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY