将数据从文本文件加载到oracle中的表 [英] Loading data from a text file to a table in oracle
本文介绍了将数据从文本文件加载到oracle中的表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有2个问题.
- 除了使用SQL加载程序以外,是否有其他方法可以从
.txt
文件将数据加载到Oracle中的表? - 如何将表中的数据卸载到文本文件中?
- Is there any way to load data to a table in Oracle from a
.txt
file other than using SQL loader? - How to unload data from the table to a text file?
请帮助我.
谢谢.
推荐答案
有很多选择.这取决于上下文-您的Oracle版本,数据格式,是在客户端还是在服务器上等等.这是一个快速列表,可能还有许多其他方法:
There are a bunch of options. It depends on the context - your Oracle version, data format, is this on the client or the server, etc. Here's a quick list, there are probably many other methods:
文件输入:
- UTL_FILE
- SQL * Loader
- DBMS_XSLPROCESSOR.READ2CLOB
- 外部表
- 带有BFILE的xmltype.createXML
- Oracle SQL Developer 或其他第三方工具
- UTL_FILE
- SQL*Loader
- DBMS_XSLPROCESSOR.READ2CLOB
- External Tables
- xmltype.createXML with BFILE
- Oracle SQL Developer or other third-party tool
文件输出:
- UTL_FILE
- 数据转储实用程序(围绕UTL_FILE封装) >
- DBMS_XSLPROCESSOR.CLOB2FILE
- 外部表
- SQL * Plus脚本
- Oracle SQL Developer 或其他第三方工具
- UTL_FILE
- Data Dump Utility (wrapper around UTL_FILE)
- DBMS_XSLPROCESSOR.CLOB2FILE
- External Tables
- SQL*Plus script
- Oracle SQL Developer or other third-party tool
这篇关于将数据从文本文件加载到oracle中的表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文