I have a running database in SQL Server 2012 which was running correctly and suddenly I am getting error msg 8115 is coming, but only on one server, and not on others (SQL Server 2008, SQL Server 2019, etc).
The following statement is running perfectly without any error in all servers except the one I'm talking about:
declare @number decimal(10,2);
set @number = '6.001'
On this one server, the error message I'm getting is:
Msg 8115, Level 16, State 7
An arithmetic overflow error occurred while converting from numeric to numeric data type.
Which setting I have to look into in order to fix this issue? Is it related to corrupted master database?
The version where I have the problem is:
Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
Feb 10 2012 19:39:15
Copyright (c) Microsoft Corporation
Web Edition (64-bit)
While this server hasn't changed, the errors just started happening today.