Oracle:导入CSV文件 [英] Oracle: Import CSV file

查看:163
本文介绍了Oracle:导入CSV文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一段时间,但似乎找不到答案,所以这里...



我有一个CSV文件,我想要导入到Oracle(9i / 10i)中的表中。



稍后我计划将此表用作另一个用途的查找。



这实际上是一个解决方法,因为使用IN子句查询多于1000个值是不可能的。



这是如何使用SQLPLUS?



感谢您的时间! 有助于将csv文件加载到表格中: //www.orafaq.com/wiki/SQL*Loader_FAQrel =noreferrer> SQL * Loader



如果您只想使用sqlplus,有点复杂。您需要找到您的sqlloader脚本和csv文件,然后运行sqlldr命令。


I've been searching for a while now but can't seem to find answers so here goes...

I've got a CSV file that I want to import into a table in Oracle (9i/10i).

Later on I plan to use this table as a lookup for another use.

This is actually a workaround I'm working on since the fact that querying using the IN clause with more that 1000 values is not possible.

How is this done using SQLPLUS?

Thanks for your time! :)

解决方案

SQL Loader helps load csv files into tables: SQL*Loader

If you want sqlplus only, then it gets a bit complicated. You need to locate your sqlloader script and csv file, then run the sqlldr command.

这篇关于Oracle:导入CSV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆