Heim >Datenbank >MySQL-Tutorial >Mysql 查询列注释及列名称_MySQL

Mysql 查询列注释及列名称_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:51:56988Durchsuche

//查询列注释及列名称
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';

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn