怎么查看数据库里的所有表?

qbfbi008 2010-01-30 08:49:06
各位高手,是这样的,今天我用PLSQL Developer引入了一个数据库wd.dmp;现在我想查看这个数据里有哪些表。在mysql里面直接命令show tables就全部显示出来了,那在oracle里怎么弄?或者是怎么用PLSQL Developer图形化显示所有表呢?
...全文
32271 34 打赏 收藏 转发到动态 举报
写回复
用AI写文章
34 条回复
切换为时间正序
请发表友善的回复…
发表回复
weizhenggege 2011-09-06
  • 打赏
  • 举报
回复
select *from user_tables
ssqtjffcu 2010-04-07
  • 打赏
  • 举报
回复

select * from dba_tables;
select * from all_tables;
select * from user_talbes;
andypeker 2010-04-07
  • 打赏
  • 举报
回复
你为什么要问这个问题?

没用的问题。
zswangg 2010-04-07
  • 打赏
  • 举报
回复
select table_name from user_tables;
lolitaline 2010-02-05
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 duqiangcise 的回复:]
假如你要查看user1用户下的所有表:
以user1身份登录oracle,然后执行:
select table_name from user_tables;

select table_name from tabs;
[/Quote]

直接查。或者用工具查看。
luhui436 2010-02-05
  • 打赏
  • 举报
回复
user_tables
all_tables
dba_tables
weibkreuz 2010-02-04
  • 打赏
  • 举报
回复
select * from user_tables;
ldl196 2010-02-04
  • 打赏
  • 举报
回复
oracle有好几个数据字典可以达到楼主的目标:

1:dba_tables
dba_tables包含数据库内所有表的相关信息,onwer是指属于哪个用户的表,user_tables只能显示登录用户自己的表。
select * from dba_tables where owner='USERNAME';


2:dba_objects
dba_objects包含数据库内所有对象的相关信息
select * from dba_objects where owner='USERNAME' and object_type='TABLE';


暂时就想到这么多 希望对楼主有所帮助。


vanjayhsu 2010-02-04
  • 打赏
  • 举报
回复
select * from all_tables
y_sb 2010-02-04
  • 打赏
  • 举报
回复
plsqldev有tables,toad也有tables,点就好了。
woyaotaiyang 2010-02-04
  • 打赏
  • 举报
回复
通过PLSQLDeveloper登录数据库,在左面的树表里找到Tables,点开'+'就可以看到所有的表了。
也可通过select table_name from user_tables;查看。
kingkingzhu 2010-02-04
  • 打赏
  • 举报
回复
dba_tables,all_tables,user_tables都可以查
你过你 有plsql 为什么不直接在图形界面上看
piaoyao888 2010-02-04
  • 打赏
  • 举报
回复
select OBJECT_NAME FROM ALL_OBJECTS WHERE OBJECT_TYPE='TABLE'
Phoenix_99 2010-02-04
  • 打赏
  • 举报
回复
select table_name from user_tables;
zhouhualong 2010-02-04
  • 打赏
  • 举报
回复
all_all_tables;dba_tables
yubin88 2010-02-02
  • 打赏
  • 举报
回复
select table_name from user_tables;
alibaba0317 2010-02-02
  • 打赏
  • 举报
回复
select table_name from user_tables
oraclemch 2010-02-02
  • 打赏
  • 举报
回复
select table_name from user_tables

这个sql足矣解决你的问题啦!
Well 2010-02-02
  • 打赏
  • 举报
回复
select * from all_tables;select * from user_tables;select * from dba_tables;
xdy3008 2010-02-02
  • 打赏
  • 举报
回复
select * from user_tables;
加载更多回复(14)

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧