2017-06-24 4 views
1

すべてが正常に実行され、OLE DBの宛先でエラーが発生しました。私はソースをチェックSqlCommandオブジェクト出力は正しい(DECIMAL)データ値が指定されたタイプをオーバーフローしたために変換が失敗しました

(Source sqlCommand and output)

次いでiが出力またはソースのthro通過するデータをチェックしてくださいしようと私は出力のフォーマットは、宛先列と同じではないことがわかりDECIMAL(2,2)以下

(Pass thro output data)

あるProjectedROIは、エラー・メッセージである:

[Insert New Record to Fact_Sales [162]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

[Insert New Record to Fact_Sales [162]] Error: There was an error with Insert New Record to Fact_Sales.Inputs[OLE DB Destination Input].Columns[ProjectedROI] on Insert New Record to Fact_Sales.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed the specified type.".

[Insert New Record to Fact_Sales [162]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Insert New Record to Fact_Sales.Inputs[OLE DB Destination Input]" failed because error code 0xC020907A occurred, and the error row disposition on "Insert New Record to Fact_Sales.Inputs[OLE DB 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.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Insert New Record to Fact_Sales" (162) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (175). 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.

答えて

0

ソースとデスティネーションの間に多くのステップがあり、それぞれの後にデータの外観が表示されていません。ある時点では、データが10進数(2,2)から10進数(14,11)に変わります。

原因を見つけて、それぞれのステップを進んで、各コンポーネントを右クリックして詳細プロパティを開き、出力列ProjectedROIのデータ型を確認します。正しい精度とスケールを持っていることを確認します。

関連する問題