SSIS Excel Import Forcing Incorrect Column Type

后端 未结 16 1354
醉梦人生
醉梦人生 2020-11-30 01:06

I\'m trying to import a spreadsheet to our database using SSIS. For some reason SSIS wants to believe two of the columns are of type Double, when they contain character dat

16条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 01:32

    I had the same issue, multiple data type values in single column, package load only numeric values. Remains all it updated as null.

    Solution

    To fix this changing the excel data type is one of the solution. In Excel Copy the column data and paste in different file. Delete that column and insert new column as Text datatype and paste that copied data in new column.

    Now in ssis package delete and recreate the Excel source and destination table change the column data type as varchar.

    This will work.

提交回复
热议问题