获取mysql数据库表字段的备注信息

SELECT COLUMN_NAME as field_name , COLUMN_COMMENT as remark  FROM information_schema.COLUMNS WHERE TABLE_NAME = 'your_table_name'

 

posted on 2019-12-11 17:56  红色的黑  阅读(2137)  评论(0编辑  收藏  举报