tags:

views:

184

answers:

3

Is there any tool or script available?

+2  A: 

I think what you're looking for is:

sqlite x.db .dump > output.sql

This will dump the SQL to regenerate a database

Chaos
simple n easy :)
kost
+1  A: 

Hope this helps.

http://sqliteadmin.orbmu2k.de/

SQLite Administrator is a powerful tool if you easily want to create, design or administrate SQLite database files. The SQL code editor helps you to quickly write sql queries with features such as code completion and highlighting. Both major versions of SQLite database files are supported by SQLite Administrator. Features:

* Create / Modify / Delete Tables by Wizard
* Create / Modify / Delete Indices by Wizard
* Create / Modify / Delete Views by Wizard
* Create / Modify / Delete Triggers by Wizard
* SQL Code Completion that supports table aliases
* SQL Code Highlighting
* SQL Error Locating
* Import Data from CSV Files
* Export Data ( XLS / CSV / HTML / XML )
* Store User Queries into Database
* Search for User Queries
* Store Images into Blob Fields ( JPG / BMP )
* Show SQL of each Database Item
* Migrate SQLite2 Databases to SQLite3
* Try to keep Indices and Triggers after modifying a Table
Shoban
A: 

If you use the Sqlite manager firefox plugin, it supports bulk inserts from INSERT SQL statements.

Infact it doesn't support this, but Sqlite Browser does (works on Windows, OS X, Linux)

Chris S