查看oracle数据库中所有的表及特定用户的表

来源:互联网 发布:影音先锋网络任务清空 编辑:程序博客网 时间:2024/06/05 21:12

select   table_name   from   user_tables;     //当前用户的表

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

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

 

查看特定用户的表:

此用户登陆后,select   *   from   tab;

select OWNER,TABLE_NAME from dba_tables order by owner;
select OWNER,TABLE_NAME from all_tables order by owner;

原创粉丝点击