oracle SQLDeveloper 在显示表的连接下不显示任何表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6459145/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SQLDeveloper displays no tables under connections where it says tables
提问by Saro Khatchatourian
I am not sure why but I just installed SQLdeveloper 32 bit (3.0.0.4). When I click to expand the tables/views/indexes or etc it displays nothing at all!
我不知道为什么,但我刚刚安装了 SQLdeveloper 32 位 (3.0.0.4)。当我单击以展开表/视图/索引等时,它根本不显示任何内容!
But when I do the following:
但是当我执行以下操作时:
SELECT owner, table_name
FROM dba_tables
I see the list of tables and I have read access to these tables since I can do a select * from anytable and data shows. Any thoughts?
我看到了表列表,并且我可以读取这些表,因为我可以从 anytable 和数据显示中选择 *。有什么想法吗?
回答by Justin Cave
The SQL Developer tree shows you what objects you own, not what objects you have access to. If you want to see the objects that you have access to that are owned by other users, you would need to navigate to the "Other Users" branch of the tree, then the user that owns the table, then the "Tables" branch.
SQL Developer 树显示您拥有哪些对象,而不是您有权访问哪些对象。如果您想查看其他用户拥有的您有权访问的对象,您需要导航到树的“其他用户”分支,然后是拥有表的用户,然后是“表”分支。
回答by Anoop
Add select privilege to all_objects/user/ojects in the db user
为 db 用户中的 all_objects/user/objects 添加选择权限
回答by Atul
Launch SQL Developer as administrator
以管理员身份启动 SQL Developer