Link to home
Start Free TrialLog in
Avatar of vijay1507
vijay1507

asked on

Date Transfer through Sql server migration assistant

Hi ,

I am getting the Error OCI-22053: overflow error while trying to transfer data from Oracle to Sql server by using  Sql server management assistant  
This happens after 80k rows  which is 24% of the total volume
can someone help me out !!!!!!
Avatar of tigin44
tigin44
Flag of Türkiye image

When Fill uses OracleDataReader.GetValues, numeric values are converted from
OracleNumber to System.Decimal which has a smaller range and the risk of
overflow.  In V1.1 there is no workaround other than to not use Fill and
directly call OracleDataReader.GetOracleValues.

In .Net Framework V2.0, there is a new property on OracleDataAdapter called
ReturnProviderSpecificTypes in which the adapter will create the DataColumn
with OracleNumber instead of System.Decimal.

you can overcome this by using the ROUND() to decrease the precision of your oracle number field in your source query.
 also take a look at this link

http://social.msdn.microsoft.com/forums/en-US/adodotnetdataproviders/thread/4032e2fe-9f37-47d8-9af6-35f1675e9d84/
Avatar of vijay1507
vijay1507

ASKER

HI  
can I use ant setting in SSMA to over come this mine is sql server migration Assistant for oracle 4.0.1402

ASKER CERTIFIED SOLUTION
Avatar of tigin44
tigin44
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
this issue was solved thatnks  for the help