date conversion error
Posted: Mon Jun 14, 2010 9:02 am
Hi,
I have a job which is reading date as varchar(10). I am trying to convert this into date field by using the following command.
StringToDate(inColumn,"%mm/%dd/%yyyy")
My input data is in the folowing format
1/1/2010
here below is my error.
Fatal Error: Invalid Julian day [date/date.C:1006]
I took the job seperate and tried to read this field alone. Then I am not getting fatal error, but losing the value and following warning is read.
Conversion error calling conversion routine date_from_ustring data may have been lost [transform/tfmop_functions.C:132]
Any help is greatly appreciated.
Thanks
Kavuri
I have a job which is reading date as varchar(10). I am trying to convert this into date field by using the following command.
StringToDate(inColumn,"%mm/%dd/%yyyy")
My input data is in the folowing format
1/1/2010
here below is my error.
Fatal Error: Invalid Julian day [date/date.C:1006]
I took the job seperate and tried to read this field alone. Then I am not getting fatal error, but losing the value and following warning is read.
Conversion error calling conversion routine date_from_ustring data may have been lost [transform/tfmop_functions.C:132]
Any help is greatly appreciated.
Thanks
Kavuri