calliopsis

导航

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;

posted on 2013-03-30 00:35  calliopsis  阅读(155)  评论(0编辑  收藏  举报