How do I dump the data of some SQLite3 tables?

Posted by J. Pablo Fernández on Stack Overflow See other posts from Stack Overflow or by J. Pablo Fernández
Published on 2008-09-16T18:52:49Z Indexed on 2010/06/14 5:52 UTC
Read the original article Hit count: 323

Filed under:
|

How do I dump the data, and only the data, not the schema, of some SQLite3 tables of a database (not all the tables)? The dump should be in SQL format, as it should be easily re-entered into the database latter and should be done from the command line. Something like

sqlite3 db .dump

but without dumping the schema and selecting which tables to dump.

© Stack Overflow or respective owner

Related posts about sql

Related posts about sqlite