我正在尝试导入如下所示的文件:
"RTSTAT","DATE"," BUS_LINE ","AMOUNT","LN_CODE","TEAM"
"0646540210","10/04/11 "," P ", 99900.00,"0010101","0098765"
"0940365400","03/30/12 "," P ", 88800.00,"0020202","0085464"
我将连接管理器中的文本限定符设置为“
尽管 TEAM 列的数据仍然在预览中显示双引号。
当我运行包时,DataFlow 中的源文件出现以下错误:
Error: 0xC0202055 at Data Flow Task, Source - VFE3007M_DETAIL_csv [1]:
The column delimiter for column "TEAM " was not found.
Error: 0xC0202091 at Data Flow Task, Source - VFE3007M_DETAIL_csv [1]:
An error occurred while skipping data rows.
Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.
The PrimeOutput method on component "Source - VFE3007M_DETAIL_csv" (1)
returned error code 0xC0202091.
如果我使用记事本并删除所有双引号,则该文件有效。虽然这并不理想。
对于如何解决这个问题,有任何的建议吗?