Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is an Oracle external table

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what is the Oracle external table". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Summary

Oracle external table is to map the data outside the oracle system to the table in oracle, or to dump the data in oracle to the external table. It is very easy to exchange data with oracle using the external table operating system. External tables can only use the select function, which does not take up oracle storage space.

How do I use external tables? 1. Create or replace directory XXX as'/ path/xxx': create an oracle directory. XXX is the logical name of the directory.'/ path/xxx' is the actual absolute path of the oracle server operating system. You need to pay attention to the correct representation of different operating system paths. The syntax for creating an external table defines the relevant parameters of the external table through the organization external clause. 1.oracle_loader external table, often used to load operating system files into the oracle table. Create table T_XXX (col1 type,col2 type,....) Organiztion external (type oracle_loader-default directory XXX in oracle_loader way-here is the oracle directory access parameter created above-parameter definition (recoders delimited by newline-external data source record segmentation symbol (newline) logfile 'xxx'-log file name or nologfile badfile' xxx' -error message file name or nobadfile fields terminated by' '- Field separator reject rows with all null fields) location (' xx-*.csv')-the file name of the external data source You can use the wildcard character *) reject limit ulimited This is the end of the content of "what is the external Oracle Table". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report