Oracle 视图 ALL_VIEWS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图是从多个表中检索出来的报表或其他信息,也可以说是虚拟表,视图把“虚拟表”绑定成一张实际的表格面向用户,这样,用户可以直接查询虚拟表,而不用关心它是如何根据哪些物理表组成的。
ALL_VIEWS是系统视图,它仅提供与当前用户拥有的特定元数据的详细信息。它可以用于检索当前用户所拥有的所有视图的信息,如视图的定义代码、其中的使用的列及其他的属性信息。
要使用ALL_VIEWS视图,可以使用以下查询:
select * from all_views;
官方英文解释
ALL_VIEWS
describes the views accessible to the current user.
Related Views
-
DBA_VIEWS
describes all views in the database. -
USER_VIEWS
describes the views owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the view |
|
|
|
Name of the view |
|
|
Length of the view text |
|
|
|
View text. This column returns the correct value only when the row originates from the current container. The |
|
|
|
View text. This column may truncate the view text. The |
|
|
|
Length of the type clause of the typed view |
|
|
|
Type clause of the typed view |
|
|
|
Length of the |
|
|
|
|
|
|
|
Owner of the type of the view if the view is a typed view |
|
|
|
Type of the view if the view is a typed view |
|
|
|
Name of the superview |
|
|
|
Reserved for future use |
|
|
|
Indicates whether the view is read-only ( |
|
|
|
Indicates whether the view contains container-specific data. Possible values:
|
|
|
|
Possible values:
For more information about the syntax and semantics of the |
|
|
|
The ID of the container where the data originates. Possible values include:
|
|
|
|
Default collation for the view |
|
|
|
Indicates whether the view is enabled for |
|
|
|
Indicates whether the view is enabled for use with the |
|
|
|
Indicates whether the view is enabled for fetching an extended data link from the root ( |
|
|
|
For internal use only |
|
|
|
Indicates whether the view has one or more sensitive columns ( |
|
|
|
Indicates whether the view admits null |
|
|
|
For internal use only |
See Also:
-
“DBA_VIEWS”
-
“USER_VIEWS”