I've a simple data flow task which pulls data from mysql to sql db. Use DataReader Source, .Net Providers\Odbc Data Provider. The task runs fine on my machine but it fails when I put in sql job. Below is error:
Source: import temp_tbl DataReader Source [1] Description: The data type of "output column "project" (25)" does not match the data type "System.String" of the source column "project".
The source data type is varchar(max). In Advanced Editor for DataReader Source, the external column data type is DT_WSTR so I change it to DT_STR but the job still fails. To further troubleshoot the issue, I only pull the data that is Integer data type and the jobs run fine. I even use Data Conversion but it still fails.
Really appreciate any inputs. Thanks in advance.
Ash_