Hi,
I have a Excel Source. It has few columns. One of the column is 'EmployeeCode', which has values6,7,w,1,a,c,5,y,6,6,4... and so on
The destination is a table, column name and data type is 'EmpCode , varchar(20) for this column.
Its a simple package. steps are , Excel Source--> Derived Column - (DT_STR,20,1252)LTRIM(RTRIM([EmployeeCode])) --> Destination table column 'EmpCode'.
The problem is, if i execute the package,the values w,a,c and
y are getting inserted as NULL.
I did a analysis, what i found is when coming from Excel , that column is coming as DT_R8 and NOT DT_WSTR. In the Advanced Editor -External Column , this column's datatype is DT_R8.
In the Excel source 'Preview' itself, those values are coming as NULL not as
w,a,c and y.
If you guys help me to solve this problem - It would be really great!
thanks in advance!