首页  >  文章  >  数据库  >  Mysql 查询列注释及列名称_MySQL

Mysql 查询列注释及列名称_MySQL

WBOY
WBOY原创
2016-06-01 13:51:56929浏览

//查询列注释及列名称
Mysql 查询列注释及列名称_MySQLselect  column_name, column_comment from information_schema.columns where table_schema ='databaseName'  and table_name = 'tableName';//查询表注释及表名称
Mysql 查询列注释及列名称_MySQLselect table_name,table_comment from information_schema.tables  where table_schema = 'image' and table_name ='tableName';

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn