Oracle 视图 ALL_VARRAYS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle ALL_VARRAYS 视图能够用来查询所有的数组类型,也就是由多个元素组成的变量,这些元素可能包括字符串,数值,日期等类型。
在ALL_VARRAYS中,每一条记录都包含了与数组相关的一些基本信息,例如:数组类型的名字,它的拥有者,数组大小和数组元素的数据类型。使用ALL_VARRAYS 视图,就可以查询某个元素类型所拥有的数组变量,这在很大程度上提高了我们的编程效率。
使用ALL_VARRAYS 就可以方便地查询Oracle数据库中的数组变量。要查询某一数据类型的数组,可以使用以下语句:
SELECT * FROM ALL_VARRAYS WHERE ELEMENT_TYPE LIKE ”;
例如,如果要查询数据类型为NUMBER的数组,可以使用这样的语句:
SELECT * FROM ALL_VARRAYS WHERE ELEMENT_TYPE LIKE ‘NUMBER’;
官方英文解释
ALL_VARRAYS
describes the varrays accessible to the current user.
Related Views
DBA_VARRAYS
describes all varrays in the database.USER_VARRAYS
describes the varrays owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
| Owner of the table containing the varray | |
|
| Name of the containing table | |
|
| Name of the varray column or attribute | |
|
| Owner of the varray type | |
|
| Name of the varray type | |
|
| Name of the LOB if the varray is stored in a LOB | |
|
| Indicates whether the storage was defaulted ( | |
|
| Return type of the column:
| |
|
| Indicates whether the varray element is substitutable ( |
See Also:
“DBA_VARRAYS”
“USER_VARRAYS”
编辑:568数据
标签:数组,元素,类型,变量,数据类型