Is there a way to force sqlite to quit when it reads
commands from a file?
Here is what I have in mind:
For a file junk.in:
begin transaction;
insert into students values(
6588,'Ezak','Dood','F2001');
commit;
I can run sqlite like this:
sqlite3 -init junk.in test.db
... but sqlite is left running interactively.
I have tried inserting .quit inside my input command
file in various places, but it does not force sqlite
to terminate.
Any tips on batch-mode operation would help.
Thanks - John
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/