Hello to everybody, 

I'm working few time with SQLite, and can't solve one problem.

I have a script file with this commands:

-------------- script.txt  --------------
create table temp (title varchar(100), description varchar(200));
.separator ; 
.import ./file.txt temp 
update article set company = (select company from temp where temp.title =
article.title);
update article set description = (select description from temp where
temp.title = article.title);
drop table temp; 
.exit
-------------- script.txt  --------------

And I run the script with this command in a batch file.

sqlite3 -init script.txt mydb.db3

The script run very well, but don't close SQLite and the batch can't
continue.
I have used .quit .exit .q but don't work and can't find an answer on an
internet search. 

Best regards.

Juan M. Perez

-- 
View this message in context: 
http://www.nabble.com/Closing-SQLite3-from-script-tp20628648p20628648.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to