您的当前位置:首页正文

Mysql查询列注释及列名称_MySQL

2020-11-09 来源:爱站旅游
//查询列注释及列名称
select column_name, column_comment from information_schema.columns where table_schema ='databaseName' and table_name = 'tableName';//查询表注释及表名称
select table_name,table_comment from information_schema.tables where table_schema = 'image' and table_name ='tableName';
显示全文