首页 » ORACLE 9i-23c » sqlldr 加载时 SQL*Loader-951: Error calling once/load initialization ORA-00942

sqlldr 加载时 SQL*Loader-951: Error calling once/load initialization ORA-00942

今天搞了点数据文本文件,用SQLLDR加载时报:
SQL*Loader-951: Error calling once/load initialization
ORA-00942: 表或视图不存在

说一下环境
本机先后装有9I,10G两套库,现在想插入9I的库 windows xp

C:\sqlldr userid=anbob/anbob@anbob control=xxx.ctl direct=true log=load.log

SQL*Loader: Release 10.1.0.2.0 – Production on 星期三 12月 21 17:53:14 2011

Copyright (c) 1982, 2004, Oracle. All rights reserved.

SQL*Loader-951: Error calling once/load initialization
ORA-00942: 表或视图不存在

如果去掉direct项就可以C:\sqlldr userid=anbob/anbob@anbob control=xxx.ctl log=load.log

Commit point reached – logical record count 68478
Commit point reached – logical record count 68542
Commit point reached – logical record count 68606
Commit point reached – logical record count 68670
Commit point reached – logical record count 68734

note:有时LOAD 的表不为空也是这个提示,很是郁闷

再注意一下LOADING时的提示信息SQL*Loader: Release 10.1.0.2.0 – Production on 星期三 12月 21 17:53:14 2011,显然是10G的SQLLDR在PATH环境变量的前面,调用的是10G的SQLLDR,如果换成9I的SQLLDR会不会一样呢?

cmd>set path=D:\oracle\product\9.2.0\Db_2\bin;%path%

C:\>sqlldr userid=anbob/anbob@anbob control=xxx.ctl direct=ture log=load.log

SQL*Loader: Release 9.2.0.8.0 – Production on 星期三 12月 21 18:00:41 2011

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

加载完成 – 逻辑记录计数 6428632。

20秒加载完成,总结就出在用DIRCET直接路径加载时版本不一致。

打赏

对不起,这篇文章暂时关闭评论。