2017-05-30 61 views
1

SQL Server管理スタジオ17.を使用して200k行のテキストファイルをSQL Serverにインポートしようとしましたが、次のエラーが表示されます。エラー0xc0202009 Microsoft SQL Server Management Studio 17を使用してSQL Serverにテキストファイルをインポートしています

Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. 
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Invalid character value for cast specification.". 
(SQL Server Import and Export Wizard) 

Error 0xc020901c: Data Flow Task 1: There was an error with Destination - DimStudent.Inputs[Destination Input].Columns[DateOfBirth] on Destination - DimStudent.Inputs[Destination Input]. The column status returned was: "Conversion failed because the data value overflowed the specified type.". 
(SQL Server Import and Export Wizard) 


Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Destination - DimStudent.Inputs[Destination Input]" failed because error code 0xC020907A occurred, and the error row disposition on "Destination - DimStudent.Inputs[Destination Input]" 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. 
(SQL Server Import and Export Wizard) 

Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - DimStudent" (158) failed with error code 0xC0209029 while processing input "Destination Input" (171). 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 - DimStudent_txt 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) 

私はこれが初めてです。誰かがこの問題を解決する方法を教えることができれば素晴らしいだろう。

答えて

0

エラーメッセージの状態:行の

"Conversion failed because the data value overflowed the specified type.". 

一つは、何らかの理由で先テーブルに収まらない値を持っています。あなたはデータ型を指定していませんが、出力列が適切な日付/時刻列でないかもしれないと推測しています。

しかし、テーブルの設定やデータの一部を見ることなく、われわれは推測できるだけです。

関連する問題