csvsql: Option to output INSERT statements
I want to convert a CSV file to SQL CREATE TABLE
and INSERT
statements. However, csvsql
insists on providing --db
together with --insert
. This is strange, as csvsql
produces CREATE TABLE
itself, so it knows the schema and should be able to create INSERT
statements without any additional information.