SELECT * INTO OUTFILE '/path/to/my_table_structure.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = DATABASE()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)