【发布时间】:2014-03-09 05:31:40
【问题描述】:
我试图简单地从支持 DATE 的 sql server 中提取数据并将其转储(不进行更改)到不支持 DATE 但支持 DATETIME 的 SQL server 中。现在,我的 SSIS 包仅使用一个具有 oledb 源和目标的数据流任务。源任务执行 SQL 来获取数据。源 SQL 任务总是失败,并出现以下错误。有人可以帮我找出原因并解决这个问题吗?
谢谢。
错误 -
[GET MY DATA [1]] Error: There was an error with output column
"A_DATE_COLUMN" (62) on output "OLE DB Source Output" (11). The
column status returned was: "Text was truncated or one or more
characters had no match in the target code page.".
[GET MY DATA [1]] Error: The "output column "A_DATE_COLUMN" (62)"
failed because truncation occurred, and the truncation row disposition
on "output column "A_DATE_COLUMN" (62)" specifies failure on truncation.
A truncation error occurred on the specified object of the specified component.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.
The PrimeOutput method on component "GET MY DATA" (1) returned error
code 0xC020902A. 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.
【问题讨论】:
标签: sql sql-server ssis