On Sat, 23 Apr 2011 12:17:54 -0400
Tom Holden <holden_fam...@sympatico.ca> wrote:

> Perhaps by adding 
> .quit
> to your schema.sql
I tried this and it does not work, no error but it enters interactive mode once 
more. Also, the
necessity to add sqlite shell commands to the file would pervert the pure SQL 
schema if it worked.
But quit can (should?) be appended to each batch command as an argument for 
sqlite3.exe:

sqlite3.exe -init schema.sql default.db3 ".quit"

On Unices I use: "sqlite3.exe default.db3 < schema.sql" as exemplified by DRH 
(IIRC), but I guess
there's no way to do something similar on Windows cmd?

-- 
Mihai Militaru <mihai.milit...@xmpp.ro>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to