菜鸟一问:在sqlplus里面怎样察看数据库中都有哪些table?

[复制链接]
查看11 | 回复9 | 2011-5-7 01:45:08 | 显示全部楼层 |阅读模式
sqlplus中怎样知道数据库中有哪些table?
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
select * from dba_tables
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
select * from all_tables;
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
查看当前用户的table:
select * from user_tables
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
select * from dba_tables----看所有用户的表
select * from all_tables ---我能看到的表
select * from user_tables ---我自已的表
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
不要轻易用 select * from all_tables; 表太多了,忙不过来
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
收到,感谢!
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
all_tables难道比dba_tables 还要多 ??

最初由 CrazyCpy 发布
[B]不要轻易用 select * from all_tables; 表太多了,忙不过来 [/B]

回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
select * from tab;
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
用select * 你还是表看不清,太多了
用select table_name from ......(按楼上各位写的dba_tables ,all_tables,user_tables)看看如何!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行