oracle 查询数据库表名和注释

--查询表名和注释
select a.table_name, b.comments
  from user_tables a, user_tab_comments b
 where a.table_name = b.table_name
   and a.table_name like 'GWY_%'
 order by table_name;

猜你喜欢

转载自libaxiaoyuan.iteye.com/blog/2171269