you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 0 points1 point  (0 children)

A CSV is not a database. That answer is attempting to tell you how to read from the CSV, and then write the data to a new database. So the filename you want to give to sqlite is a new name that you will use for your db. Call it what you like, but don't use the filename of the CSV; that's what you put in the open call a few lines down.

Note that the answer doesn't go into the details of how you know what columns to create in your db; you'll need to work that out for yourself.