Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Lookup Transformation Data Type issue

$
0
0

We are using SSIS with Visual Studio 2012, and Oracle 11 database. We have a Lookup Transformation from a Flat File to a result from the Oracle database View (Use result of an SQL Query). The query is something like this:

With A AS 
(select … as AType,
Trim(vw.AID) as  AID
from mySchedume.myView_vw vw 
) 
Select * from A where  AID  is not NULL and AType is not null

In the Lookup Transformation Editor > Columns, there is a link between InputColumnC (Available Input Column) to AID (Available Lookup Column).

On other people’s machines (Win7), when I hover on both columns on Lookup Transformation Editor > Column, they are of data type DT_STR, and there is a link between InputColumnC (Available Input Column) to AID (Available Lookup Column).

But, when I do that on my machine (Win10), AID is of data type DT_WSTR, and there is no link between InputColumnC (Available Input Column) to AID (Available Lookup Column). When I try to link the 2 columns, it says

“Cannot map the input column, ‘InputColumnC’, to the lookup column, ‘AID’ 
 because the data types do not match."

Why AID has data type DT_STR on a Win7 machines, but it has a data type of DT_WSTR on my machine ?

How can I fix this issue ? I don't want to add a Derived Column, since it is working in other people's machines (Win7).

Thank you.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>