querybuilder icon indicating copy to clipboard operation
querybuilder copied to clipboard

Arithmetic overflow error converting numeric to data type numeric

Open gunagururaja opened this issue 2 years ago • 0 comments

SqlException (0x80131904): Arithmetic overflow error converting numeric to data type numeric.

Code:

Issue : TotalExperience is a Numeric(3,2) field. please help.

using (TransactionScope scope = new TransactionScope()) { int affected = db.Query("Candidate").Insert(

                new
                {
                    
                 
                    TotalExperience = model.TotalExperience
               
                }


                );

            scope.Complete();
        }

gunagururaja avatar Jan 28 '22 12:01 gunagururaja