I am new to SQLite. I downloaded the latest version of SQLite (both shell and dll) and extract them to my D:
drive. I execute the 'sqlite3.exe' file by double clicking on that.
When I try to create the database with the command sqlite3 test.db;
, I get this error.
D:\Android Work\Sqlite\sqlite-shell-win32-x86-3070800>sqlite3.exe
SQLite version 3.7.8 2011-09-19 14:49:19
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> sqlite3 test.db
...> ;
Error: near "sqlite3": syntax error
sqlite>
Please help me..
I believe you have to type "sqlite3 test.db" from the command line prompt, not from inside the interactive SQLite interface.
See here:
$ sqlite3 test.db
SQLite version 3.0.8
Enter ".help" for instructions
sqlite> .quit
$
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With