Oracle 视图 V$EDITIONABLE_TYPES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$EDITIONABLE_TYPES用于查询可以启用的Edition的定义(可以修改的/可替换的类型)。
它的主要SYS在V$EDITION、V$EDITIONABLE_VERSION和V$EDITIONABLE_TYPES之间提供一个联系。
它知道客户企图更新至的版本,它只查询类似于正在运行的数据库实例上的类型。
使用V$EDITIONABLE_TYPES视图的步骤:
1. 查询V$EDITIONABLE_TYPES视图,以查询客户正在尝试更新/替换/改动得到何种类型的对象:
SQL> SELECT editionable_type FROM V$EDITIONABLE_TYPES;
2. 查询V$EDITION和V$EDITIONABLE_VERSION来检查正确,可以改变得版本。
SQL> SELECT edition_name, editionable_type, version_no FROM V$EDITIONABLE_VERSION;
官方英文解释
V$EDITIONABLE_TYPES
lists all the editionable types based on the current compatibility setting. The SELECT
privilege on V$EDITIONABLE_TYPES
will be granted to PUBLIC
.
The database compatibility setting will determine the set of editionable types.
With compatibility set to 11.2 or 12, this set includes FUNCTION, LIBRARY, PACKAGE, PACKAGE BODY, PROCEDURE, SYNONYM, TRIGGER, TYPE, TYPE BODY, and VIEW. With compatibility set to 12, the set will include these types as well as the SQL TRANSLATION PROFILE.
Column | Datatype | Description |
---|---|---|
|
|
The name of the type that is editionable |
|
|
The number of the type that is editionable |
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
For more information about edition-based redefinitions, see Oracle Database
Development Guide.