Getting the error Arithmetic overflow error converting numeric to data type numeric. in MS SQL. Here's the table:
CREATE TABLE [Percentages]
(
[enabled] bit,
[name] nvarchar(150),
[percent] decimal(5,5)
)
And here's what I'm trying to insert:
INSERT INTO [Percentages] ([enabled], [name], [percent])
VALUES (1,'Test',2.0)
If the decimal limit is 00000.00000 to 99999.99999 then why is 2.0 giving me the error? "2" gives the same error as well
decimal(10,5).