On Tue, May 25, 2010 at 3:25 PM, Black, Michael (IS)
<michael.bla...@ngc.com> wrote:
> sqlite3 main.db < main.txt
>
> or
> cat main.txt | sqlite3 main.db
>
> or
>
> echo "create table tbl1(one varchar(10), two smallint);" | sqlite3 main.db

Is there a way to use Shebang for sqlite3 script?

http://en.wikipedia.org/wiki/Shebang_%28Unix%29

-- 
Regards,
Peng
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to