Reputation: 30045
Whats the best way to convert DT_NTEXT to DT_WSTR in Derived Colum Transformation.
Regards
Upvotes: 10
Views: 54975
Reputation: 632
Below are two solution for any types of data conversion in SSIS Package
Use below link
Mmanually convert that into Unicode string.
(DT_WSTR,20)Columnname expression.
Upvotes: 1
Reputation: 22177
The problem here is that the max length of DT_NTEXT
is 2^30 ~ 1.073
billion characters, while DT_WSTR
max length is 4000 characters.
If all your fields are less than 4000, try Data Conversion Transformation and it may only raise a warning at design time. You would add this before of after the Derived Column Transformation.
Upvotes: 16