2012-09-27 44 views

回答

2

您可以轻松地使用SELECT...INTO OUTFILE语句读取来自information_schema.tablesinformation_schema的数据。 columns表 -

SELECT * FROM information_schema.tables INTO OUTFILE dump_tables.csv 

该查询将输出结果集到指定的CSV文件中。