Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sqlite3 import without delimiters

Tags:

sqlite

I have problem opposite to usual one: Need to import file into sqlite table and I don't need any delimiters, just one line into one column. Is it possible to do with command line or I need to write my custom program?

like image 767
Igor Konoplyanko Avatar asked Dec 11 '25 11:12

Igor Konoplyanko


1 Answers

It is possible with command line. If it is TEXT data, the trick will be picking a separator that never appears in the text.

Maybe there's no such thing as 100%, but perhaps .separator "\a" (bell) or .separator "\b" (backspace) would be safe bets. Of course I don't know the data......

like image 180
DinoCoderSaurus Avatar answered Dec 14 '25 07:12

DinoCoderSaurus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!