Oracle笔记:查询表相关

显示当前用户拥有的所有表
select table_name from user_tables;


显示当前用户可以访问的所有表
select table_name from all_tables;


显示所有方案拥有的数据库表(必须是dba角色或是有select any table权限)
select table_name from dba_tables;

查询数据库的表空间
select tablespace_name from dba_tablespaces;

原文地址:https://www.cnblogs.com/testing/p/2989915.html