私は非常に単純な SSIS パッケージを開発しています。ストアド プロシージャを実行して、変数テーブルからフラット ファイルの宛先にデータを直接エクスポートします。もともと、変数テーブルの各列は として定義されていましたがvarchar(max)
、これまでのところ正常に機能していました。パフォーマンスを向上させるために、変数テーブルに制約を適用することにしました。これは varchar(max) と互換性がなく、特定の数値を割り当てる必要がありましたvarchar(10)
。この変更の後、この SSIS には一連のエラーが発生しました。
Error: 0xC0202009 at ESP AL Extract, OLE DB Source [835]: An OLE DB error has
occurred. Error code: 0x80040E21.
An OLE DB record is available. Source: "Microsoft SQL Native Client"
Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated
errors. Check each OLE DB status value, if available. No work was done.".
Error: 0xC0208265 at ESP AL Extract, OLE DB Source [835]: Failed to retrieve
long data for column "SR_RequestID".
Error: 0xC020901C at ESP AL Extract, OLE DB Source [835]: There was an error
with output "OLE DB Source Output" (846) on component "OLE DB Source" (835).
The column status returned was: "DBSTATUS_UNAVAILABLE".
Error: 0xC0209029 at ESP AL Extract, OLE DB Source [835]: The "output
"OLE DB Source Output" (846)" failed because error code 0xC0209071 occurred,
and the error row disposition on "component "OLE DB Source" (835)" specifies
failure on error. An error occurred on the specified object of the
specified component.
フラット ファイル列のデータ型はstring[DT_STR]
. どんな考えでも大歓迎です。