SQL加载器日期格式

SQL加载器日期格式,sql,database,oracle,date,Sql,Database,Oracle,Date,您好,我正在尝试将数据从文件加载到Oracle中的表中,但收到错误ORA-01843:插入日期时不是有效月份 文件中的日期为2014年1月27日 “我的表格”中的格式设置为“日期” 这是控制文件 load data infile 'file1.csv' append into table my_table fields terminated by ',' TRAILING NULLCOLS (Case_reference, Attempt_Number, Dialled_Number, Date

您好,我正在尝试将数据从文件加载到Oracle中的表中,但收到错误ORA-01843:插入日期时不是有效月份

文件中的日期为2014年1月27日

“我的表格”中的格式设置为“日期”

这是控制文件

load data
infile 'file1.csv'
append
into table my_table
fields terminated by ',' TRAILING NULLCOLS
(Case_reference, Attempt_Number, Dialled_Number, Date_Called)
有人知道我哪里出错了吗


欢呼声

甲骨文可能需要27个月,它会抛出这样的错误

尝试在控制文件本身中指定格式

load data
infile 'file1.csv'
append
into table my_table
fields terminated by ',' TRAILING NULLCOLS
(Business_function, 
Case_reference, 
Sub_sequence, 
Dialler_Master_Stream ,
Dialler_Call_Stream,    
Dialler_Super_Stream, 
Attempt_Number, 
Dialled_Number, 
Date_Called DATE "DD-MM-YYYY")