Simple SQL Lite table/import question

后端 未结 3 1976
深忆病人
深忆病人 2020-12-15 00:16

I have a simple SQL question. I want to make a 3 column database and I have the following code:

sqlite3 meshdb.db \"create table t1 (t1key INTEGER PRIMARY KE         


        
3条回答
  •  暖寄归人
    2020-12-15 00:53

    With the .version of sqlite (SQLite 3.7.15.2 2013-01-09) I'm on, you don't have to import into a temp table first. All I did was to make sure I set a separator before starting the import. I did specify the id values for each row, so, my first column in the csv was a set of unique integers

提交回复
热议问题