【发布时间】:2010-12-27 19:19:58
【问题描述】:
我正在尝试将 82k+ 行表从访问数据库导入 SQL Server 2008。
使用 SQL Server 导入和导出向导,我在输入大约 78k 条记录时收到错误。
这是错误:
Error 0xc0208265: Data Flow Task 1:
Failed to retrieve long data for column "members_notes".
Error 0xc020901c: Data Flow Task 1:
There was an error with output column "members_notes" (41) on output "OLE DB Source Output" (11).
The column status returned was: "DBSTATUS_UNAVAILABLE".
Error 0xc0209029: Data Flow Task 1:
SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.
The "output column "members_notes" (41)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "members_notes" (41)" specifies failure on error.
Error 0xc0047038: Data Flow Task 1:
SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.
The PrimeOutput method on component "Source - Query" (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.
access 数据库中的 members_notes 列是备注字段。在此数据要传输到的 SQL Server 表中,我已将字段定义为 nvarchar(MAX)。
我已搜索此错误消息并找到建议缩小我的 SQL 数据库并清除执行导出/导入的计算机上的临时文件的文章,但均无效。
还有其他人遇到过这个问题吗?
【问题讨论】:
-
你能修复块引用,使它在代码中而不是那么混乱吗?
-
正如你已经指出的,你清理了你的临时文件。有一个 [错误报告][1],但已在 SQL Server Integration Services 2008 中修复。[1]:connect.microsoft.com/SQLServer/feedback/…
-
您是否尝试过将问题一分为二,即将数据拆分为 1000 条记录(或更小)的数据包,甚至尝试仅导入一行?
标签: sql-server ssis ms-jet-ace