hi friends
I'm fetching MYSQL data to SQL server .
but i'm getting this error in mid of execution .
[OLE DB Destination [16]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005
Description: "Invalid character value for cast specification".
[OLE DB Destination [16]] Error: There was an error with input column "end_time" (142) 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 [16]] 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 t
his with more information about the failure.
As I see I think I'm facing issue with end_time
Source (MYSQL) endtime datatype is:datetime
Destination(sQL)endtime datatype is:datetime
I'm using this on Source;
SELECT uniqueid,channel,channel_group,type,server_ip,extension,number_dialed ,caller_code,DATE_FORMAT(start_time,'%m-%d-%Y %h:%m:%s')as start_time,start_epoch, DATE_FORMAT(end_time,'%m-%d-%Y %h:%m:%s')as end_time,end_epoch,length_in_sec,length_in_min FROM asterisk.call_log
Kindly help to solve this issue .