On Sat, 23 Apr 2011 12:17:54 -0400
Tom Holden <[email protected]> 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 <[email protected]>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to