Oracle 视图 ALL_TYPES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_TYPES是一个用户可获取的数据字典视图,用于显示当前用户可用的数据类型。每行表示当前用户有权访问的数据类型,该数据类型可以用于定义列和参数。
使用ALL_TYPES视图的一种最常见的用法就是查询一个指定的数据类型的详细信息:
SELECT * FROM ALL_TYPES WHERE TYPE_NAME=’VARCHAR2′;
执行上述查询将返回多行记录,其中包含有关VARCHAR2数据类型的更多详细信息,包括字节长度、最大长度等。
官方英文解释
ALL_TYPES
describes the object types accessible to the current user.
Related Views
-
DBA_TYPES
describes all object types in the database. -
USER_TYPES
describes the object types owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the type |
|
|
|
Name of the type |
|
|
|
Object identifier (OID) of the type |
|
|
|
Typecode of the type |
|
|
|
Number of attributes (if any) in the type |
|
|
|
Number of methods (if any) in the type |
|
|
|
Indicates whether the type is a predefined type ( |
|
|
|
Indicates whether the type is an incomplete type ( |
|
|
|
Indicates whether the type is a final type ( |
|
|
|
Indicates whether the type is an instantiable type ( |
|
|
|
Indicates whether the type is a persistable type ( |
|
|
|
Owner of the supertype (NULL if type is not a subtype) |
|
|
|
Name of the supertype (NULL if type is not a subtype) |
|
|
|
Number of local (not inherited) attributes (if any) in the subtype |
|
|
|
Number of local (not inherited) methods (if any) in the subtype |
|
|
|
Type ID value of the type |
See Also:
-
“DBA_TYPES”
-
“USER_TYPES”