Friday, February 15, 2013 9:21 AM
I'm using Sorce ---> derived column ------>destination.
Source is ADO.net for MYSQL
DATE_FORMAT(last_local_call_time,'%m-%d-%Y %h:%m:%s') as last_local_call_time
FROM asterisk.vicidial_list l
!ISNULL((DT_DATE)last_local_call_time) ? last_local_call_time : "Null"
but getting this Error;
[OLE DB Destination ] 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 10.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
[OLE DB Destination ] Error: There was an error with input column "last_local_call_time" (653) on input "OLE DB Destination Input" (29). The column status returned was: "The value could not be converted because of a potential loss of data.".
[OLE DB Destination ] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (29)" failed because error code 0xC0209077 occurred, and the error row disposition on "input "OLE DB Destination Input" (29)" 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 "OLE DB Destination" (16) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (29). 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.
kindly help .
Friday, February 15, 2013 9:50 AMModerator
Can't you get it as datetime from the source instead of a srtring? Then you have less problems with the format of the datatime...
Or if you don't want a datetime format use:
!ISNULL(last_local_call_time) ? last_local_call_time : "Null"
- Edited by SSISJoostMicrosoft Community Contributor, Moderator Friday, February 15, 2013 9:52 AM
- Proposed As Answer by Naveen Kumar K.R Monday, February 18, 2013 6:55 AM
- Marked As Answer by Eileen ZhaoMicrosoft Contingent Staff, Moderator Monday, February 25, 2013 7:20 AM