Import Package Error - Cannot Convert between Unicode and Non Unicode String Data Type

前端 未结 16 560
小蘑菇
小蘑菇 2021-01-31 13:29

I have made a dtsx package on my computer using SQL Server 2008. It imports data from a semicolon delimited csv file into a table where all of the field types are NVARCHAR MAX.

16条回答
  •  时光说笑
    2021-01-31 14:02

    This a solution that uses the IDE to fix:

    1. Add a Data Conversion item to your dataflow as shown below;

    1. Double click on the Data Conversion item, and set it as shown:

    1. Now double click on the DB Destination item, Click on Mapping, and ensure that your input Column is actually the same as coming from the Copy of [your column name], which is in fact the Data Conversion output NOT the DB Source Output (be careful here). Here is a screenshot:

    And thats it .. save and run ..

提交回复
热议问题