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

前端 未结 16 603
小蘑菇
小蘑菇 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 13:59

    Follow the below steps to avoid (cannot convert between unicode and non-unicode string data types) this error

    i) Add the Data conversion Transformation tool to your DataFlow.
    ii) To open the DataFlow Conversion and select [string DT_STR] datatype.
    iii) Then go to Destination flow, select Mapping.
    iv) change your i/p name to copy of the name.

提交回复
热议问题