oracle 查询数据库中所有表名及查询某一个表的所有列名

来源:互联网 发布:excel表重复数据筛选 编辑:程序博客网 时间:2024/05/17 22:15

1.查询当前数据库中所有表名及表的备注:

        1) select  * from user_tab_comments;----查询所有表

        2)select  *  from user_tab_comments  where Table_Name='表名';----查询某一个表的名称及备注


2.查询某一个表的所有列及列的备注:

  select  *  from user_col_comments  where Table_Name='表名';





以上内容参考:http://blog.csdn.net/oraclest/article/details/38371621

原创粉丝点击