Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello
I am new to sqlite. I am making an android app. on server side i want a database in sqlite. but unable to create own database on it.


SQL
sqlite> mydb.db;
 OR
sqlite> sqlite3 mydb.db;
  OR
sqlite> $sqlite3 mydb.db;

Error: near "mydb": syntax error

sqlite> $ sqlite3 mydb.db;

Error: unrecognized token: "$"


i had tried all the above commands but it gives error.
please guide me what is the correct command.
Thanks in advance.
Posted
Updated 18-Apr-14 7:35am
v2

Try the data browser - Learn SQL Or Create A Simple Database With SQLite Database Browser[^].

Here is the documentation on CREATE DATABASE[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900