oracle 导入excel
先把excel改为csv文件,再编辑temp.ctl文件,如下: load data infile 'e:\city.csv' replace into table sys_User_Role--表名 fields terminated by ',' optionally enclosed by '"' trailing nullcols (UserId,RoleId)--对应的列表
保存到E盘。
打开cmd: sqlldr userid=root/root@elearning 按回键 control = e:\temp.ctl空格回车,就行了