Я делаю это в моем сценарии оболочки c .. мой результат установлен на 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