I am going to create an excel file from my table structure in Phpmyadmin (structure only). I found that it has a CSV output, but it only gives me data.
Does Phpmyadmin have any feature to do something or not?
Edit: this is my sql:
SELECT * INTO OUTFILE 'c://wamp/my_table_structure.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'dt_user'
why does it return an empty file?
source
share