I am trying to import data from a CSV file into a table. I am presented by this error:
"Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "dstSupport" returned status value 2 and status text "The value could not be converted because of a potential loss of data."."
However, I do not even need to convert this column, as you see in the image below:
The column is of type bit, and I used DST_BOOL.
This ended up being a parsing error. I had a string with commas within it, and these strings within the commas were being placed in my bit column. I fixed it by changing the delimiter from a comma to a pipe
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.