Home > Database > Mysql Tutorial > body text

excel 导入 oracle 的各种方法

WBOY
Release: 2016-06-07 17:45:53
Original
1155 people have browsed it

excel 导入 oracle 的各种方法

excel 导入 oracle 的各种方法

excel 导入 oracle 的各种方法
1 、与 db2 导入方法相同
2 、使用 sqlldr 装载数据:
1 )、先把 excel 另存为 .csv 格式文件,以逗号数据字段分隔的文本文件,如 table.csv
2 )、编写一个 insert.ctl ,用 sqlldr 进行导入 !
insert.ctl 内容如下:

load data
infile 'table.csv'
append into table tablename
fields terminated by ','
(field1,field2,field3,...fieldn)
3 )、执行命令: sqlldr user/password control=insert.ctl

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!