Domanda

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.

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top