当我尝试使用 sql loader 加载时,我的日志文件中生成了一条主要错误消息
我用这个创建了一个名为 Ad2.ctl 的控制文件
和加载命令
sqlldr scott/tiger@MYDB CONTROL='Ad2.ctl' LOG='Ad2.log'
该文件的内容包括以下示例
运行 sql loader 命令后,我得到一长串错误,并且未填充 ADDRESS 表。
错误包括以下内容
SQL*Loader: Release 10.2.0.3.0 - Production on Wed Sep 12 08:47:28 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: Ad2.ctl
Data File: Abbeyruntest2.csv
Bad File: Abbeyruntest2.bad
Discard File: Abbeyruntest2.dis
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table ADDRESS, loaded from every logical record.
Insert option in effect for this table: APPEND
Record 2: Rejected - Error on table ADDRESS, column ADDRESSAREA.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 3: Rejected - Error on table ADDRESS, column ADDRESSAREA.
Column not found before end of logical record (use TRAILING NULLCOLS)
以新手的身份发布长错误并对此感到困惑。