次の問題があります。IBM AS/400ライブラリ/システムのテーブルのdatetime列にSSISを使用してdatetime値を挿入します
MS SQLサーバーデータベースのテーブルの値をAS/400ライブラリのテーブルに挿入するSSISフローを作成します。
これはdatetime2の値以外のすべての値に対して機能します。私はdatetime2値とvarchar値をdatetime2形式で挿入しようとしました。どちらの方法もうまくいきませんでした。
それは次のエラーを与える:
[TABLENAME [11566]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "IBMDA400 Command" Hresult: 0x80004005 Description: "CWBZZ5014 Value of parameter COLUMNNAME could not be converted to the host data type.". An OLE DB record is available. Source: "IBMDA400 Command" Hresult: 0x80004005 Description: "CWBZZ5014 Value of parameter COLUMNNAME could not be converted to the host data type.".
[TABLENAME [11566]] Error: There was an error with input column "COLUMNAME" (12245) on input "OLE DB Destination Input" (11579). The column status returned was: "The value could not be converted because of a potential loss of data.".
誰かがこれを成し遂げる方法を知っていますか?
をdb_timestamp試してみたい
– mustaccio
26の長さのタイムスタンプ。形式は次のとおりです:2016-12-16-11.30.58.161468 – chr1s84