External Tables【每日一译】--20121129

本文深入探讨了Oracle外部表的概念,包括其如何在外部源中访问数据,以及如何通过DDL创建元数据。强调了外部表的只读性质和无法进行DML操作的特点,同时解释了DDL中描述列类型和映射外部数据到Oracle数据列的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

External tables access data in external sources as if it were in a table in the database.
You can connect to the database and create metadata for the external table using DDL.
The DDL for an external table consists of two parts: one part that describes the Oracle
column types, and another part (the access parameters) that describes the mapping of

the external data to the Oracle data columns.

外部表访问数据在外部源尽管它在数据库的表中。你可以连接数据库并且创建外部表的元

数据使用DDL语句。外部表的DDL由两部份组成:一部份描述ORACLE的列类型,另一部

份(访问参数)它描述外部数据与ORACLE数据列的对应关系。

An external table does not describe any data that is stored in the database. Nor does it
describe how data is stored in the external source. Instead, it describes how the
external table layer needs to present the data to the server. It is the responsibility of the
access driver and the external table layer to do the necessary transformations required
on the data in the datafile so that it matches the external table definition.
External tables are read only; therefore, no DML operations are possible, and no index

can be created on them.

一个外部表不描述任何存储在数据库中的数据。它也不描述数据是如何存储在外部源。取代的是,

它描述了外部表层怎样需要去描述数据给服务器。它是由访问的驱动负责的并且外部表层做要求

需要转换的数据在数据文件上,这样它能满足外部表的定义。

外部表是只读的;所以,没有DML操作可能操作,以及没有索引可以创建在上面。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值