https://www.cnblogs.com/yuxiaole/p/9786206.html
- oracle当前用户下有什么表?看USER_TAB_COLUMNS 字段
select distinct table_name from USER_TAB_COLUMNS
- 多个表又多少行
select t.table_name,t.num_rows from all_tables t where t.table_name like 'xxx';
但不是实时数据
analyze table xxx compute statistics;
oracle 查询某表的所有字段 + 字段注释 + 字段类型
t.COLUMN_NAME columnName, t.DATA_TYPE dataType, a.COMMENTS FROM USER_TAB_COLUMNS t LEFT JOIN USER_COL_COMMENTS a ON t.table_name = a.table_NAME AND t.COLUMN_NAME = a.COLUMN_NAME
oracle 查询当前用户下的表名 + 表注释
select t.table_name tableName, f.comments comments from user_tables t inner join user_tab_comments f on t.table_name = f.table_name