G
Guest
Hi, I'm writing a module to insert records to the main accounts table in our
CRM database. I've noticed in testing that the tax percent, which is a
decimal data type with length 5, default value (0), precision 9 and scale 6
always enters zero.
I've noticed if I run the test T-SQL statement it always returns a value of
0.0 instead of 0.085.
Any ideas on what I'm missing would be hugely appreciated, I'm sort of
tearing my hair out here.
Thanks,
Andre
declare @taxpercent decimal(5)
set @taxpercent = 0.085000
select @taxpercent
CRM database. I've noticed in testing that the tax percent, which is a
decimal data type with length 5, default value (0), precision 9 and scale 6
always enters zero.
I've noticed if I run the test T-SQL statement it always returns a value of
0.0 instead of 0.085.
Any ideas on what I'm missing would be hugely appreciated, I'm sort of
tearing my hair out here.
Thanks,
Andre
declare @taxpercent decimal(5)
set @taxpercent = 0.085000
select @taxpercent