I am importing from a tab separated text file to sqlite3. In most cases, values import as TEXT, however occasionally a value will import as a BLOB. This usually happens when there is a slightly unusual symbol in the text, such as the | (pipe) symbol.
Why is this happening, and what can I do about it?
I am setting the sqlite .mode
to tabs
, and there is no additional information on the encoding of the text file.
Edit: Here's the code:
.open filename.sq3
.mode tabs
.import filename.tab tablename