5

Do you know any way to create sql script from existing database in SQLite 3?

Piotr Wdowiak
  • 63
  • 1
  • 5

1 Answers1

8

I need to create tables and insert script.

You can use the sqlite3 command line tool and use .dump to output the SQL that creates the database schema and inserts the data there.

laalto
  • 150,114
  • 66
  • 286
  • 303