4 ms·
For anyone looking to do this with plain SQLite, one can import a CSV by running (in the REPL) .mode csv .headers on .import my.csv tablename This
by striking 9y ago
For anyone looking to do this with plain SQLite, one can import a CSV by running (in the REPL)
.mode csv
.headers on
.import my.csv tablename
This does look extremely convenient, though; being able to use UNIX pipes will be a huge improvement to my workflow.
- deleted 9y ago[deleted]
- mingodad 9y agoTo have an idea of what can be done with sqlite look at this solution to the Hashcode 2018 https://github.com/mingodad/sqlite3-hashcode-2018 https://github.com/mingodad/sqlite3-hashcode-2018 using only sqlite3 command line.