Oracle 视图 ALL_EXTERNAL_TABLES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_EXTERNAL_TABLES是一个只读的固有视图,用来查看当前用户所创建的所有外部表的基本信息,包括表名、定义、数据源等。
使用步骤:
1、查看当前用户创建的所有外部表:
SELECT * FROM all_external_tables;
2、查看默认数据源:
SELECT default_directory_name FROM all_external_tables
WHERE table_name = ‘表名’;
3、查看外部表中每一列信息:
SELECT column_name,column_type,column_precision,staging_column_name
FROM all_external_columns
WHERE table_name = ‘表名’;
官方英文解释
ALL_EXTERNAL_TABLES
describes the external tables accessible to the current user.
Related Views
DBA_EXTERNAL_TABLES
describes all external tables in the database.USER_EXTERNAL_TABLES
describes the external tables owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Owner of the external table |
|
|
| Name of the external table |
|
| Owner of the implementation type for the external table access driver | |
|
|
| Name of the implementation type for the external table access driver |
|
| Owner of the default directory for the external table | |
|
|
| Name of the default directory for the external table |
|
| Reject limit for the external table, or | |
|
| Type of access parameters for the external table:
| |
|
| Access parameters for the external table | |
|
| Property of the external table:
| |
|
| Indicates whether the In-Memory Column Store (IM column store) is enabled ( | |
|
| Indicates the compression level for the IM column store:
This column has a value based on where the segments lie for a table. For example, if the table is partitioned and is enabled for the IM column store, the value is |
See Also:
“DBA_EXTERNAL_TABLES”
“USER_EXTERNAL_TABLES”
编辑:编程语言
标签:数据源,视图,是一个,用户,英文