Oracle 视图 ALL_XML_NESTED_TABLES 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图ALL_XML_NESTED_TABLES用于检索当前用户拥有的所有嵌套XML表的信息。嵌套XML表可用于在存储和检索XML文档时,将文档中的每一元素(元素名、主体、属性)存储在彼此独立的Oracle表中。

使用ALL_XML_NESTED_TABLES可以获取它们的相关信息,例如嵌套XML表名称、列名等。可以使用下面的语句来查询ALL_XML_NESTED_TABLES:

SELECT owner, table_name, xml_name
FROM all_xml_nested_tables
WHERE table_name=’

‘;

上述查询将返回对应表的所有嵌套XML表的相关信息。此外,也可以使用以下语句查询指定表中指定列的嵌套XML表信息:

SELECT owner, table_name, xml_name
FROM all_xml_nested_tables
WHERE table_name=’


AND column_name=”;

官方英文解释

ALL_XML_NESTED_TABLES describes all the tables and their corresponding nested tables accessible to the current user.

Related Views

  • DBA_XML_NESTED_TABLES describes all the tables and their corresponding nested tables in the database.

  • USER_XML_NESTED_TABLES describes all the tables and their corresponding nested tables owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the table

TABLE_NAME

VARCHAR2(128)

Name of the table

NESTED_TABLE_NAME

VARCHAR2(128)

Name of the nested table

PARENT_COLUMN_NAME

VARCHAR2(4000)

Name of the parent XML column

See Also:

  • “DBA_XML_NESTED_TABLES”

  • “USER_XML_NESTED_TABLES”



数据运维技术 » Oracle 视图 ALL_XML_NESTED_TABLES 官方解释,作用,如何使用详细说明