How To Export MySQL Data as Insert Statements

1. Tool

Toad for MySQL, free software

2. Solution A

Toad's default behavior is exporting the whole table, thus we'd better create a temporary table first, insert the query result, and follow the Export Wizard, beware choose the SQL Script option.

3. Solution B

How To Export MySQL Data as Insert Statements_第1张图片

How To Export MySQL Data as Insert Statements_第2张图片How To Export MySQL Data as Insert Statements_第3张图片

你可能感兴趣的:(How To Export MySQL Data as Insert Statements)