Generating insert statements from an sqlite table
DB Browser for SQLite supports SQL generation.
- Go to
File
- Select
Export
- Click to
Database to SQL file...
- A popup screen will be shown.
- There you can choose export options and click
OK
- It'll prompt for a location to save generated sql file.
I hope it'll help the others :)
I think what you're looking for is:
sqlite x.db .dump > output.sql
This will dump the SQL to regenerate a database