Oracle 视图 ALL_XML_TAB_COLS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_XML_TAB_COLS 视图显示当前用户拥有的XMLType列的相关信息,保存有XMLSchema地址和XMLSchema权重等信息。可以使用该视图获取分析XMLType列所需信息。
该视图中的字段有:
TABLE_NAME: XMLType列所在的表名
COLUMNNAME: XMLType列的列名
XMLSCHEMALOCATION: XMLSchema所在路径
XMLSCHEMACOLLECTION: XMLSchema被绑定到XMLType列的XMLSchemaCollection类型名
WEIGHT: 更新xmlschema集合中XMLSchema权重
我们可以使用该视图来查询指定表中的XMLSchema信息:
SELECT TABLE_NAME, COLUMN_NAME, XMLSCHEMALOCATION, XMLSCHEMACOLLECTION, WEIGHT
FROM ALL_XML_TAB_COLS
WHERE TABLE_NAME = ‘TABLE_NAME’
官方英文解释
ALL_XML_TAB_COLS
describes the columns of the XML tables accessible to the current user.
Related Views
-
DBA_XML_TAB_COLS
describes the columns of all XML tables in the database. -
USER_XML_TAB_COLS
describes the columns of the XML tables owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the XML table |
|
|
|
Name of the XML table |
|
|
|
Name of the XML table column |
|
|
|
Name of the XML Schema that is used for the table definition |
|
|
|
Owner of the XML Schema that is used for the table definition |
|
|
|
Name of the XML SChema element that is used for the table |
|
|
|
Storage option for the XMLType data:
Note: The |
|
|
|
If storage is |
|
|
|
If storage is |
|
|
|
This column is for internal use only. |
See Also:
-
“DBA_XML_TAB_COLS”
-
“USER_XML_TAB_COLS”