1、查询指定用户下所有表(upper转为大写函数,lower转为小写函数)
select count(*) from all_tables a where a.OWNER = upper('数据库用户名');
2、查询指定用户下所有表名
select a.TABLE_NAME from all_tables a where a.OWNER = upper('数据库用户名'');
3、查询指定用户下所有序列
select count(*) from dba_sequences where sequence_owner='数据库用户名;
4、查询指定用户下所有序列名
select SEQUENCE_OWNER,SEQUENCE_NAME from dba_sequences where sequence_owner='数据库用户名'';