On 3/31/08, Douglas McCarroll <[EMAIL PROTECTED]> wrote:
> I'm sure I'm doing something simple and obvious wrong here. I'm a complete
>  sqlite n00b.
>
>  Help?
>
>  C:\_source>sqlite3 test
>  SQLite version 3.5.7
>  Enter ".help" for instructions
>  sqlite> .read test.sql;
>  can't open "test.sql;"
>  sqlite> .read C:/_source/test.sql;
>  can't open "C:/_source/test.sql;"
>  _______________________________________________

take out the ; at the end of the statement. .read is a sqlite3 shell
command, not a SQL statement. Also, try putting your path in single
quotes (or is double quotes... try both).

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

Reply via email to