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

Derived column implicit DT_STR to DT_WSTR conversion question (SSIS 2008 SP1)

$
0
0
Hello all,

in my dataflow i'm using an OleDB data source which points to a SQL Server 2008 table with some varchar columns. Connected to this datasource is a derived column component. The metadata of the green connection arrow shows all varchar columns as DT_STR.

Creating a derived column based on one of the varchar columns will result in a new column of type DT_WSTR. In SSIS 2005 there was a combobox for changing the datatype back to DT_STR (preserving the string length from the datasource), but in SSIS 2208 unfortunately it is missing (or hidden very well from me).

Do now (in SSIS 2008) I really have to do this step manually? e.g. casting to DT_STR in the derived column or adding a data conversion task? Both cases are much more manual work (compared to 2005) and in the first option I even have to take care of the string length myself.

What about upgrading existing packages - will they break?

thanks in advance and best regards,
Gerald

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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