2017-04-18 86 views
-1

[Data Conversion [2]] Error: "Failed to convert data when converting LONGITUDE column (103) to" LONGITUDE copy "column (39). This conversion returned the status value 2 and the status text "The value could not be converted due to a potential loss of data. ". "這個SSIS包的數據轉換錯誤是什麼意思?

[Data Conversion [2]] Error: "SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Data conversion.Output [Data conversion output] .Columns [Copy of LONGITUDE]" object failed due to error code 0xC020907F. Additionally, the error line layout on "Data Conversion. Output [Data Output Data] .Columns [LONGITUDE Copy]" specifies a failure on the error. An error occurred on the specified object of the specified component. Error messages can be sent beforehand with information indicating the reason for the failure. "

我該如何糾正它。我試圖改變數據類型並將它們匹配。 我檢查了我的EXCEL文件的語法錯誤...什麼都沒有

+0

的來源是什麼類型和轉換類型? – LONG

+0

DT_NUMERIC(18.14) –

+0

如果您沒有更改數據類型,則無需轉換 – LONG

回答

0

您是否在使用Data Conversion轉換?如果是這樣,打開它,並檢查Copy of Longitude的類型,將其與來源進行比較。這兩種數據類型不兼容。您可以嘗試將其轉換爲double

如果EXCEL destination,你需要將其轉換爲DT_WSTR

+0

我有! DT_NUMERIC(18.14) –

+0

爲什麼你需要轉換它,如果它們都是'DT_NUMERIC(18.14)' – LONG

+0

我將源改爲DT_NUMERIC(18.14)以匹配目標。 –