![](https://img.codepudding.com/202009/107971262041181.png)
CodePudding user response:
I think you can than on the detail data, first look at what assets card data difference, generally use a decimal value,CodePudding user response:
Data accuracy (decimal) caused by differentCodePudding user response:
Certainly no sum calculationYou use the original table and test table according to the associated id, compare if there is a value difference after the October depreciation accumulated depreciation
The t select * from dbo
On left join DepreciationCount2_11 d t.i d=d.i d
After October where t. depreciation accumulated depreciation & lt;> D. after the October depreciation accumulated depreciation
CodePudding user response:
declare @ m money, @ d a decimal (16, 2)
The set @ m=1.258
The set @ d=@ m
Select @ m, @ d
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
1.258 1.26
Line (1) affected