Conversion overflows Error when decimal is too long SQL - cSharp Coder

Latest

cSharp Coder

Sharp Future

Wednesday, July 29, 2020

Conversion overflows Error when decimal is too long SQL

Can you change to (28,20)?
.Net decimal type only maps to SQL Server one in the decimal(29, X) range.
That means that if you have a decimal column that has the precision higher than 29 and no matter the scale, you won’t be able to use the native .Net data type.

No comments:

Post a Comment