SELECT(1663356.000000000000000/133920.000000)
It gives output like: 12.4205197132616487455197132
But while I am doing same operation using Temp tables with precision of (38,15) the output value scale is only 9.i don't no why it's happening?
Example:
create table #Temp
(
a numeric(38,15),
b numeric(22,6)
)
insert into #BASELINE values (1663356.000000000000000,133920.000000)
select a/b from #BASELINE
I am getting output like: 12.420519713