ITPub博客

首页 > IT基础架构 > 网络安全 > Data Loading with External Tables (172)

Data Loading with External Tables (172)

原创 网络安全 作者:tsinglee 时间:2007-11-09 10:58:22 0 删除 编辑

The main use for external tables is to use them as a row source for loading data into an
actual table in the database. After you create an external table, you can then use a
CREATE TABLE AS SELECT or INSERT INTO ... AS SELECT statement, using the
external table as the source of the SELECT clause.

When you access the external table through a SQL statement, the fields of the external
table can be used just like any other field in a regular table. In particular, you can use
the fields as arguments for any SQL built-in function, PL/SQL function, or Java
function. This lets you manipulate data from the external source. For data
warehousing, you can do more sophisticated transformations in this way than you can
with simple datatype conversions. You can also use this mechanism in data
warehousing to do data cleansing.

While external tables cannot contain a column object, constructor functions can be
used to build a column object from attributes in the external table .

Note: You cannot insert data into external tables or update records in
them; external tables are read only.

外部表加载数据
1. 不能将记录插入到外部表中 , 不能更改外部表中的数据 , 外部表是只读的

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-981389/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002968