Create a text file with the lines you want to enter into the sqlite command line program, like this:
CREATE TABLE log_entry ( ); .separator "\t" .import logfile.log log_entry
and then just call sqlite3 database.db < commands.txt
Create a text file with the lines you want to enter into the sqlite command line program, like this:
CREATE TABLE log_entry ( ); .separator "\t" .import logfile.log log_entry
and then just call sqlite3 database.db < commands.txt