2017-04-18 89 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)以匹配目标。 –