excel导入到Orcle
Excel导入到Oracle中
- 在Oracle中创建一个表,与excel的表头对应
- 将excel文件保存为.csv格式
- 创建一个.ctl文件
load data
infile 'd:\xiaoyou.csv'
append into table xiaoyou
fields terminated by ','
(ID,name,gender,etime,gtime,major,class,tel,address,QQ,wechat,mail,company,post)
4.输入命令
Sqlldr zhuopeng/zzz111 control = d:inout.ctl