I am trying to convert nvarchar to decimal (18,2) and I get the following message:
Msg 8115, Level 16, State 6, Line 2
Arithmetic overflow error converting nvarchar to numeric data type.
CAST: CAST(bm_onnet AS decimal(18,2)) as bm_onnet_corr , it only works if the value has a maximum of 3 decimal places, does not work for the value below:
21.8333333333333333333333333333333333333
How do I change my SELECT?
source share