我在我的 c shell 脚本中执行此操作.. 我的结果设置为 2 而不是 0
sqlldr $ORA_UID/$ORA_PSWD,control=$CTL/${controlfile}.CTL,log=${sqllog},bad=${badlog},DATA=${filename},discard
=${dsclog}
set RESULT = $status
if ($RESULT != 0) then
echo "Check sql log file"
exit 1
endif
这是我的日志信息,我没有看到任何警告.. 有人可以帮我解决这个问题.. 谢谢
Table "BA"."TABLE1":
25 Rows successfully loaded.
0 Rows not loaded due to data errors.
40785 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Table "BA"."TABLE1":
19147 Rows successfully loaded.
0 Rows not loaded due to data errors.
21663 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Table "BA"."TABLE1":
16588 Rows successfully loaded.
0 Rows not loaded due to data errors.
24222 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 252324 bytes(43 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 40810
Total logical records rejected: 0
Total logical records discarded: 5050