我有一个从Excel文档导入到数据库表的SSIS包。 我收到以下错误:
[Excel Source [1]] Error: There was an error with output column "ShipTo" (47) on output
"Excel Source Output" (9). The column status returned was: "The value could not be
converted because of a potential loss of data.".
[Excel Source [1]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The
"output column "ShipTo" (47)" failed because error code 0xC0209072 occurred, and the
error row disposition on "output column "ShipTo" (47)" specifies failure on error. An
error occurred on the specified object of the specified component. There may be error
messages posted before this with more information about the failure.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method
on component "Excel Source" (1) returned error code 0xC0209029. The component returned
a failure code when the pipeline engine called PrimeOutput(). The meaning of the
failure code is defined by the component, but the error is fatal and the pipeline
stopped executing. There may be error messages posted before this with more
information about the failure.
我做阅读和发现的文章,以确保我的数据类型相匹配,并且我已经做到了。 在Excel中的文档,有184行,并在在这些错误(SHIPTO)中列出的列都具有相同的价值,这是“全部”。 我就遇到了这个上次我跑,但它只有4行即有“全部”,所以我只是手动输入这些值,但不会是非常有效的这段时间。
在目标表中,列SHIPTO是VARCHAR(20),所以我不认为规模是一个问题是它是三种情况之一:1个位数,2位数,或者所有的单词。
有没有人有任何其他想法,我能试试吗? 任何帮助是极大的赞赏。 由于任何人都可以提供任何帮助。