I have a sqlite database in sqlite manager. I would like to create DB schema. How can i do that? Or is it best to use some software to create the DB Schema?

Need some suggestions and guidance.

有帮助吗?

解决方案

there is a system table called sqlite_master. It contains the SQL CREATE statements for all objects.

So, all you need to do is to select all rows from this table, and run the sql statements.

You can also use Database->Export Database Structure, which will effectiveley do the same thing

其他提示

there is only one database in SQLite for file.

probably you can create a new file and open that with sqlite manager.

certainly you can go to Database menu + create new Database

http://code.google.com/p/sqlite-manager/wiki/CommonTasks

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top