Reputation: 471
I'm getting data from Oracle DB
to a DataTable
via OracleDataAdapter
.
But when the Oracle Number
column
in a row
has too many digits in DB i get a System.OverflowException: Arithmetic operation resulted in an overflow exception.
How can i handle this situation?
Regards.
Upvotes: 0
Views: 475
Reputation: 4511
Number
type in Oracle may have up to 38 decimal digits. If you have any means of control on the target data structure, you should use float
for this field.
By the way, you haven't mentioned, what programming language you are using.
Upvotes: 1