oracle 怎样查询某用户下的所有表的表名

如题所述

第1个回答  2017-08-30
select table_name from user_tables; //当前用户拥有的表

select table_name from all_tables; //所有用户的表

select table_name from dba_tables; //包括系统表

select table_name from dba_tables where owner='用户名'
第2个回答  2016-10-17
查询scott用户下所有表名:
select table_name from dba_users where owner='SCOTT';
也可以用scott用户查询

select table_name from user_tables;
第3个回答  2016-09-06
select table_name
from dba_tables t
where t.owner='某用户'
单引号里的内容要大写。
第4个回答  2019-12-21
这个你使用匹配工具匹配的话,很容易就可以查找到的。
第5个回答  2021-03-29

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网