navicate Export Bulk insert statements

Presented here is an advanced setting mysql same type of data transmission server

When you select the database right "Dump SQL File" Export default recording format is a bar, used the "complete insert statement" in the following format

The INSERT the INTO 用户( ID 编号, 用户名, 年龄) the VALUES ( '. 1', 'Peter McKindsy', '23 is');
the INSERT the INTO 用户( ID 编号, 用户名, 年龄) the VALUES ( '2', 'Herman safe', '56 is');
the INSERT the INTO 用户( ID 编号, 用户名, 年龄) the VALUES ( '0', 'Xu Qin', '23');
this format ensures compatibility, but at the expense of performance. Use the import source on the server, simply turtle speed.

If the export into the following formats can be much faster:

The INSERT the INTO 用户the VALUES ( '. 1', 'Peter McKindsy', '23'), ( '2', 'Herman safe', '56') ( '0', 'Xu Qin', '23');
this format is called "expand the insert statement" specific use as follows,

If you want to export SQL
the INSERT the INTO 用户( ID 编号, 用户名, 年龄) the VALUES ( '. 1', 'Peter McKindsy', '23'), ( '2', 'Herman safe', '56') ( '0', 'Xu Qin' , '23');
can be selected and expanded at the same time two complete selection

Guess you like

Origin www.cnblogs.com/nxzblogs/p/12586605.html