[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
[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
Leave a Reply