We are calling an Oracle view from an SQL Server SSIS package. When we reference this view from SSIS, we are getting the below ORA-01858 error. This view has no issues being accessed within Oracle.
ORA-01858: a non-numeric character was found where a numeric was expected
I have narrowed down to the columns where we are bringing in the data from a varchar2 flex field as shown below. This varchar2 field is storing the date and I am converting as shown below. Oracle has no problems with this. We are running into this error ever since we started calling this from SQL Server.
to_char(to_date(substr(wdj.dff_detail,1,9)),'YYYYMM')
Thanks in advance.