Oracle 视图 ALL_EDITIONING_VIEW_COLS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_EDITIONING_VIEW_COLS视图描述了做版本控制的视图中每个字段的版本属性,该视图位于SYS和SYSTEM用户下,主要用于Oracle版本控制。
在使用ALL_EDITIONING_VIEW_COLS视图时,需要指定表名和列名,以查询某个表的某个列的版本属性信息。该视图的返回结果包括列名、列长、数据类型、是否是PK列、是否可以空,以及与版本相关的数据,如版本可读字段、版本可写字段、视图版本字段以及垃圾收集字段等。
它的使用方法如下:
SQL> select column_name,version_read,version_write,version_column_name,gc_column_name
from all_editioning_view_cols
where view_name=’MY_VIEW’;
其中,view_name=’MY_VIEW’是指查询指定视图名,而column_name,version_read,version_write,version_column_name,gc_column_name则是查询出每个字段的版本特性,比如可读版本、可写版本等。
官方英文解释
ALL_EDITIONING_VIEW_COLS describes the relationship between the columns of the editioning views accessible to the current user and the table columns to which they map.
Related Views
-
DBA_EDITIONING_VIEW_COLSdescribes the relationship between the columns of all editioning views in the database and the table columns to which they map. -
USER_EDITIONING_VIEW_COLSdescribes the relationship between the columns of the editioning views owned by the current user and the table columns to which they map. This view does not display theOWNERcolumn.
| Column | Datatype | NULL | Description |
|---|---|---|---|
|
|
|
|
Owner of an editioning view |
|
|
|
|
Name of an editioning view |
|
|
|
|
Column number within the editioning view |
|
|
|
|
Name of the column in the editioning view |
|
|
|
|
Column number of a table column to which this editioning view column maps |
|
|
|
|
Name of a table column to which this editioning view column maps |
See Also:
-
“DBA_EDITIONING_VIEW_COLS”
-
“USER_EDITIONING_VIEW_COLS”