结构查询:
select table_name from user_tables:当前用户的表(一般用这个)
select table_name from all_tables:所有用户的表(一般不用)
select * from user_tab_columns where Table_Name='表名':用户表的结构,表名区分大小写
select * from all_tab_columns where Table_Name='表名':用户表的结构,表名区分大小写
select * from dba_tab_columns where Table_Name='表名':用户表的结构,表名区分大小写
select * from user_tab_comments:获取表注释
select * from user_col_comments:获取表注释字段
转载于:https://my.oschina.net/wolf2leader/blog/513683