我使用sql*load加载数据内容如下:
SVRMGR>sqlldr shilei/shi7654
2>control=d:\shilei.ctl
3> log=d:\shilei.log direct=true;
sqlldr shilei/shi7654
*
ORA-00900: 无效 SQL 语句
出现以上问题。
我的控制文件如下:
load data
infile *
into table shilei.dept
fields tbrminated by ',' optionally enclosed by '"'
(deptno, dname, loc)
begindata
10,shilei,changchun
20,wangli,huaqian
30,shizhexi,shongyuan
40,shisongyan,songyuan
50,gaodongxin,shangdong
我的控制文件存成文本文件shilei.ctl(文件后面还用加上.ctl吗还是control=后面就认为是控制文件不用加.ctl)我的控制文件中的shilei.dept请问指的是shilei用户下的dept表吗?
还有我的dept表本身是不是一定要存在。
|