使用导出数据向导将数据从sql server导出到csv。得到错误。任何帮助? [英] export data from sql server to csv using export data wizard. Get error.Any help??

查看:90
本文介绍了使用导出数据向导将数据从sql server导出到csv。得到错误。任何帮助?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误0xc02020a1:数据流任务1:数据转换失败。列"电话"的数据转换返回状态值4和状态文本"文本被截断或目标代码页中的一个或多个字符不匹配。"。<
 (SQL Server导入和导出向导)
 

错误0xc02020a0:数据流任务1:无法复制或转换列"电话"的平面文件数据。

 (SQL Server导入和导出向导)

 

错误0xc0047022:数据流任务1:SSIS错误代码DTS_E_PROCESSINPUTFAILED。 组件"Destination - test111_csv"上的ProcessInput方法(34)在处理输入"平面文件目的地输入"时失败,错误代码为0xC02020A0。
(35)。标识的组件从ProcessInput方法返回错误。该错误特定于组件,但错误是致命的,将导致数据流任务停止运行。 在此之前可能会发布错误消息,其中包含有关失败的更多
信息。

 (SQL Server导入和导出向导)

 

错误0xc02020c4:数据流任务1:尝试向数据流任务缓冲区添加行失败,错误代码为0xC0047020。

 (SQL Server导入和导出向导)

 

错误0xc0047038:数据流任务1:SSIS错误代码DTS_E_PRIMEOUTPUTFAILED。  Source - Query上的PrimeOutput方法返回错误代码0xC02020C4。 当管道引擎调用PrimeOutput()时,组件返回失败代码。失败代码的含义
由组件定义,但错误是致命的,管道停止执行。 在此之前可能会发布错误消息,其中包含有关失败的更多信息。

 (SQL Server导入和导出向导)

 

解决方案

您好, 


该错误可能是由源表中的错误行造成的。 


请告诉我们有关"电话"的更多详情。数据库中的数据类型和目标文件的列映射,并共享一些示例数据(没有敏感信息)。 


您还可以尝试在SSDT中创建自定义SSIS包,重定向错误行。 


请参阅: 


SSIS如何创建ETL包


如何处理数据流中的失败行



Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "Phone" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
 (SQL Server Import and Export Wizard)
 
Error 0xc02020a0: Data Flow Task 1: Cannot copy or convert flat file data for column "Phone".
 (SQL Server Import and Export Wizard)
 
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - test111_csv" (34) failed with error code 0xC02020A0 while processing input "Flat File Destination Input" (35). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
 (SQL Server Import and Export Wizard)
 
Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
 (SQL Server Import and Export Wizard)
 
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - Query returned error code 0xC02020C4.  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 Server Import and Export Wizard)
 

解决方案

Hello, 

The error might be caused by bad rows from source table. 

Please tell us more details about the "Phone" data type in database and Column Mappings of the destination file, and share some sample data(without sensitive information). 

You can also try to create a custom SSIS package in SSDT, to redirect the error rows. 

Please see: 

SSIS How to Create an ETL Package

How to handle Failed Rows in a Data Flow


这篇关于使用导出数据向导将数据从sql server导出到csv。得到错误。任何帮助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆