mysql 查询表字段信息(字段名、描述、类型、长度)

select column_name,column_comment,data_type,column_type from information_schema.columns where table_name=表名;

  

posted @ 2017-10-30 14:20  被谋杀的诗篇  阅读(9398)  评论(1编辑  收藏  举报