excel导入到Orcle

Excel导入到Oracle中

  1. 在Oracle中创建一个表,与excel的表头对应
  2. 将excel文件保存为.csv格式
  3. 创建一个.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

 

posted @ 2016-03-26 14:12  式微胡不归  阅读(297)  评论(0编辑  收藏  举报