Yes, that's what I wanted to do. But even with that syntax there is no output. Any other ideas?
Leo Pavel Ivanov schrieb: > Maybe you want to do > sqlite3 test.db ".output o.txt; .read r.sql" > > Pavel > > On Thu, May 7, 2009 at 6:44 AM, Leo Freitag <leofrei...@netcologne.de> wrote: > >> Hallo, >> >> I try to get run the following in a batch file >> >> Open database "test.db" >> Set output to "o.txt" >> Read sql-statement form "r.sql" >> >> === r.sql - Start === >> select * from table1; >> === r.sql - End === >> >> Thinks like the following didn't work: >> sqlite3 test.db .output o.txt .read r.sql >> >> >> Thanks for your help. >> Leo >> >> >> >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> >> > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users