怎么得到某个用户拥有的所有表的表名称??在线,即答即结!

chenchongpan 2003-03-13 04:57:28
比如得到属于system用户的所有表的表名称,而且能够区分出哪些是用户表,哪些是系统表。
...全文
46 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
beckhambobo 2003-03-13
  • 打赏
  • 举报
回复
在当前用户下:
select table_name from tab

在system用户下:
select table_name from dba_tables where owner='...';
thinkcat 2003-03-13
  • 打赏
  • 举报
回复
select table_name from all_tables
where owner='用户名'
tsj68 2003-03-13
  • 打赏
  • 举报
回复
select table_name from user_tables
noApple 2003-03-13
  • 打赏
  • 举报
回复
参考一下我的问题:
http://expert.csdn.net/Expert/topic/1525/1525443.xml?temp=.109585
supkim 2003-03-13
  • 打赏
  • 举报
回复
select table_name from all_tables where owner='用户名'

17,378

社区成员

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

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