Frage

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.

War es hilfreich?

Lösung

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

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top