0

I have a csv file with ; separator. I would like to convert it into .db. I follow advice here: https://www.sqlite.org/cli.html#section_8

In my Ubuntu terminal I use:

  1. sqlite3 ex1

Then I try:

.mode list

.separator ";"

.import odberatel.csv odberatel

.save odberatel.db

But When I look on the odberatel.db in Db Browser for SQLite it seems that is not separated correctly:

enter image description here

What do I do wrong, please?

1 Answer 1

1

From the same sqlite doc:

Note that it is important to set the "mode" to "csv" before running the ".import" command.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.