Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!

I am trying to migrate a simple table from Oracle to SQL Server.
While doing so I want to migrate data having more size (Source-Oracle) to a table having lesser size (Dest - SQL Server).

Though the data in the sources fits the destination structure, just because of the datatype size the SSIS dtsx package is throwing an error.

Please provide a solution / alternate method for this.

Apart from the number of Warnings on the length mismatch following are the ERRORS :

Information: 0x4004300C at Data Flow Task, DTS.Pipeline: Execute phase is beginning.
Error: 0xC0202009 at Data Flow Task, Destination - ADDRESS [133]: An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Invalid character value for cast specification".
Error: 0xC020901C at Data Flow Task, Destination - ADDRESS [133]: There was an error with input column "LOC_MOB_NO" (214) on input "Destination Input" (146). The column status returned was: "The value could not be converted because of a potential loss of data.".
Error: 0xC0209029 at Data Flow Task, Destination - ADDRESS [133]: The "input "Destination Input" (146)" failed because error code 0xC0209077 occurred, and the error row disposition on "input "Destination Input" (146)" specifies failure on error. An error occurred on the specified object of the specified component.
Error: 0xC0047022 at Data Flow Task, DTS.Pipeline: The ProcessInput method on component "Destination - ADDRESS" (133) failed with error code 0xC0209029. 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.
Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread "WorkThread0" has exited with error code 0xC0209029.
Information: 0x40043008 at Data Flow Task, DTS.Pipeline: Post Execute phase is beginning.
Information: 0x402090DF at Data Flow Task, Destination - ADDRESS [133]: The final commit for the data insertion has started.
Information: 0x402090E0 at Data Flow Task, Destination - ADDRESS [133]: The final commit for the data insertion has ended.
Information: 0x40043009 at Data Flow Task, DTS.Pipeline: Cleanup phase is beginning.
Information: 0x4004300B at Data Flow Task, DTS.Pipeline: "component "Destination - ADDRESS" (133)" wrote 0 rows.
Task failed: Data Flow Task
SSIS package "Package3.dtsx" finished: Failure.
Posted
Updated 13-Feb-13 0:27am
v2
Comments
Charles Shob 13-Feb-13 4:36am    
There is no enough info provided. Provide what is the error your getting.
ernestmachado 13-Feb-13 6:28am    
Thank YOu for your feedback!!!
I have updated the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900