Msg 8115, Level 16, State 2

aromanocohen
Member Posts: 10
I use Navision financials with SQL Server 2000 Service Pack 4, and a register in a table of my database has the following value in a field called "Importe"
659,999,999,999,999,993.00
When i trie to restore a demo database from Navision I receive the following error: "Decimal Overflow"
Because of that I have tried to change the value of the field from Navision and also from SQL SERVER.
In Navision I received the following error when I have tried to change the value.
8115,"22003"
And When I trie to change the same value with the following query from SQL I receive the following error:
Error:
Server: Msg 8115, Level 16, State 2, Procedure Kanan Hit, S.A. de C.V.$Mov. contabilidad_TG, Line 199
Spanish:
Error de desbordamiento aritmético al convertir expression al tipo de datos numeric.
Translation to English
(Arithmetic Overflow when converting an expression to the data type numeric.)
Thank you and please help me.
659,999,999,999,999,993.00
When i trie to restore a demo database from Navision I receive the following error: "Decimal Overflow"
Because of that I have tried to change the value of the field from Navision and also from SQL SERVER.
In Navision I received the following error when I have tried to change the value.
8115,"22003"
And When I trie to change the same value with the following query from SQL I receive the following error:
UPDATE [Kanan Hit, S.A. de C.V.$Mov. contabilidad] SET Importe = 1.00 WHERE ([Nº mov.] = 2269137)
Error:
Server: Msg 8115, Level 16, State 2, Procedure Kanan Hit, S.A. de C.V.$Mov. contabilidad_TG, Line 199
Spanish:
Error de desbordamiento aritmético al convertir expression al tipo de datos numeric.
Translation to English
(Arithmetic Overflow when converting an expression to the data type numeric.)
Thank you and please help me.
Abraham Romano
0
Comments
-
The highest integer that a 32 bit field can contain is 2147483648.
Your number is a lot bigger than that. That is why you are getting the error.
659,999,999,999,999,993.000 -
:-k How did that value got there in first place? Is it possible that this field was a text field and now it is converting it into decimal?Best Regards,
Oleg0 -
@MAX_PRECISION
2) On the SQL server can be set another precision - in this case, when you are transfering the database by dettach/attach or backup/restore, you can have value which you cannot process on the server.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions