在非预期的数字位置发现了非数字字符

时间:2019-06-11 10:44:11

标签: sql

我正在使用控制文件和批处理文件将某些数据加载到表中,但是Report_date列中出现错误A non numeric character was found where numeric was expected

我尝试在控制文件中使用语法Report date "to_date(:Report_date,'MM/DD/YYYY')"函数:

load data
CHARACTERSET UTF8
APPEND
Preserve Blanks
into table REPORTID_LIST
  fields terminated by ',' optionally enclosed by '"'
  TRAILING NULLCOLS
(
Report_ID,
Employee_ID,
Report_No,
EName,
RPT_Approver,
Report_Date "to_date(:Report_Date,'MM/DD/YYYY')",
Report_Name,
RECEIPT_IMAGE_AVAILABLE,
Logon_ID,
Ledger_Division,
DEPARTMENT_CENTER,
Site,
Paid_Date
) 

但是有同样的错误。

预期结果是将表中的所有数据加载

0 个答案:

没有答案