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

前端 未结 16 601
小蘑菇
小蘑菇 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:17

    Not sure if this is still a problem but I found this simple solution:

    1. Right-Click Ole DB Source
    2. Select 'Edit'
    3. Select Input and Output Properties Tab
    4. Under "Inputs and Outputs", Expand "Ole DB Source Output" External Columns and Output Columns
    5. In Output columns, select offending field, on the right-hand panel ensure Data Type Property matches that of the field in External Columns properties

    Hope this was clear and easy to follow

提交回复
热议问题