Mega Code Archive

 
Categories / MySQL / Command Mysql
 

Run mysqldump to get the CREATE TABLE statement that contains the column definition

% mysqldump --no-data myDatabase mytbl > test.txt