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

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

    Non-Unicode string data types:
    Use STR for text file and VARCHAR for SQL Server columns.

    Unicode string data types:
    Use W_STR for text file and NVARCHAR for SQL Server columns.

    The problem is that your data types do not match, so there could be a loss of data during the conversion.

提交回复
热议问题