mysql命令行如何得到表结构

show create table 表名

 

导出表结构:

mysqldump -d  数据库 表名 >demo.sql

posted @ 2012-05-29 20:51  tywei  阅读(200)  评论(0编辑  收藏  举报