私は、このデータが含まれたCSVファイルを持っている:SSISのデータの読み込みエラー
EmployeeCode,EmployeeName,EmployeeSalary,Date
101,raju,1000,2/2/2003
102,krish,100,3/4/2005
103,rishbh,320,12/9/2007
104,rani,4690,12/8/2008
105,olesia,2000,17/4/2009
106,olga,2000,12/6/2010
107,mellisa,3330,12/4/2011
をそして私はテーブルと呼ばれる従業員を持っている:私はこのCSVを使用して私のテーブルにファイルをロードしようと
EmployeeCode nvarchar(50)
EmployeeName nvarchar(50)
EmployeeSalary money
Date datetime
SSISパッケージでエラーが発生する
1) [ADO NET Destination [2]] Error: An exception has occurred during data insertion, the message returned from the provider is: The given value of type String from the data source cannot be converted to type date of the specified target column.
2) [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (2) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (9). 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.
ただし、CSVから日付列を削除して事はうまくいく。何が日付列に間違っている、なぜ値を取っていないのですか?
_データソースからのString型の指定された値を、指定したターゲット列の型日付に変換できません._列型の日付を 'DT_STR'(または' DT_WSTR')の型からデータデータの1つに変換していますか?タイプ?もしそうなら、派生した列の変換を使って、それをどうやって投稿してください? –