Oracle 中的简单查询
在 Oracle 中执行以下操作的查询是什么?
- 获取所有视图的名称 展示 ? (类似于从中选择* 查看,但我想获得的不是视图 表)
- 参见特定来源 看法。
what are the queries to do the following in Oracle?
- get names of all views which are
present ? (Similar to select * from
view, but i want to get views not
tables) - See source of a particular
view.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
获取所有视图的名称:
a.当前用户拥有的:
b.当前用户可见:
c.存在哪些:
查看特定视图的来源
选择文本
来自 xxx_VIEWS
WHERE view_name = :myviewname;
(xxx 可以是 USER、ALL 或 DBA)
DBA_VIEWS
get names of all views:
a. which are owned by the current user:
b. which are visible to the current user:
c. which are present:
See source of a particular view
SELECT text
FROM xxx_VIEWS
WHERE view_name = :myviewname;
(xxx can be USER, ALL or DBA)
DBA_VIEWS
查看sqlplus中视图的定义:
To see the definition of a view in sqlplus:
此查询将获取架构中视图的名称。
获取查看源的查询?
This query will get the names of views in your schema.
The query for getting the view source?
用户拥有的视图
检查 oracle 对象元数据
http://cisnet.baruch.cuny。 edu/holowczak/oracle/sqlplus/
views owned by user
check for oracle objects metadata
http://cisnet.baruch.cuny.edu/holowczak/oracle/sqlplus/