On Tue, 14 Feb 2012 21:31:15 +0000, "Black, Michael (IS)"
<[email protected]> wrote:

> type dbscript.sql | sqlite3 test.db3 > dbscript.log 2>&1

or, slightly more efficient:

sqlite3 test.db3 <dbscript.sql >dbscript.log 2>&1

>
> And order is important....you need to redirect to
> file first and then redirect stderr to stdout as above.

Indeed.

-- 
Regards,

Kees Nuyt

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to