Oracle 视图 V$MAP_EXT_ELEMENT 官方解释,作用,如何使用详细说明
本站中文解释
v$map_ext_element视图用于报告可用的外部表数据元列表,其中可以按表名称显示。V$MAP_EXT_ELEMENT可以看到特定外部表的名称、 schema、列名称和属性。
V$MAP_EXT_ELEMENT视图一般用于检查从外部表导入数据时,字段名称是否符合要求。
使用方法:
1、第一步,查看要查询表的数据元信息:
SELECT * FROM V$MAP_EXT_ELEMENT WHERE TABLE_NAME = ‘&表名’;
2、第二步,检查字段的数据属性及其值:
SELECT COLUMN_NAME, DATATYPE, DIGITS, DECIMAL, PRECISION, SCALE FROM V$MAP_EXT_ELEMENT WHERE TABLE_NAME = ‘&表名’ AND COLUMN_NAME = ‘&字段名’
官方英文解释
V$MAP_EXT_ELEMENT
displays supplementary information for all element mapping structures.
Column | Datatype | Description |
---|---|---|
|
|
Index corresponding to the element |
|
|
Number of Attributes (maximum is 5) |
|
|
Name of the first Attribute |
|
|
Value of the first attribute |
|
|
Name of the second attribute |
|
|
Value of the second attribute |
|
|
Name of the third attribute |
|
|
Value of the third attribute |
|
|
Name of the fourth attribute |
|
|
Value of the fourth attribute |
|
|
Name of the fifth attribute |
|
|
Value of the fifth attribute |
|
|
The ID of the container to which the data pertains. Possible values include:
|