Merge Multiple .sql Table Dump Files Into A Single File
问题 Suppose I have database A and Table b. Given multiple .sql files b1,b2,...,bn each of which corresponds to a mutually exclusive table dump of b how would I go about combining all files b1,b2,...,bn into a single .sql table file? Or how would I combine the import of the individual files into a single table? 回答1: There are no special tools to do this. You can simply concatenate the files: $ cat b1.sql b2.sql b3.sql > b_all.sql Except that the typical content of these .sql files is a DROP TABLE,