mysql 用sql语句查询一个表中的所有字段类型、注释


SELECT column_name,column_comment,data_type FROM information_schema.columns WHERE table_name='表名' AND table_schema = "数据库名";

posted @ 2016-02-23 11:18  洋葱土豆随心匠  阅读(728)  评论(0编辑  收藏  举报