获取表字段:
select *
from user_tab_columns
where Table_Name='\u7528\u6237\u8868'
order by column_name
获取表注释:
select *
from user_tab_comments
where Table_Name='\u7528\u6237\u8868'
order by Table_Name
获取字段注释:
select *
from user_col_comments
where Table_N
全部表
select table_name from user_tables; //当前用户拥有的表
select table_name from all_tables; //所有用户的表
select table_name from dba_tables; //包括系统表
表的注释
select * from user_tab_comments; //当前用户拥有表的注释
select * from dba_tab_comments; //全部用户表的注释
select * from a