I'm using BIDS to update some data to SQL Server 2008 R2.
My source is a varchar
and destination table has this column VariantValue
as a sql_variant
datatype. So I have used a derived column transformation to create a unicode new column with this expression: (DT_WSTR,4000)(PNumber)
. Which means i'm converting a varchar
into a unicode
and inserting it into a sql_variant
column
My slowly changing dimension connection manager is throwing this error:
Cannot map columns of different types.
Column 'PNumber' is of type 'System.String' and columnVariantValue
is of type 'System.Object'