Using mysqldump
, can I make it generate an SQL file that uses the SET col_name=
syntax?
I have tried various --skip-inserts
and --extended-inserts
combinations but don't seem to be able to get there.
To my knowledge this is not possible. What you can do, is to use SELECT ... INTO OUTFILE ...
and LOAD DATA INFILE
.
It's also very fast. Give it a try.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.