donqiang的博客

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
//查询列注释及列名称
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';


posted on 2011-05-27 13:44  donqiang  阅读(2738)  评论(0编辑  收藏  举报