Retrieve a single table from a large sql dump file

By.

min read

My profile

Share this:

[code:1:818756e919]sed -n -e ‘/CREATE TABLE.*comments/,/CREATE TABLE/p’ source.sql > comments.sql[/code:1:818756e919]

Source:
http://stackoverflow.com/questions/3935939/extracting-a-table-from-a-mysql-sql-dump-file

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *