Home Forums SQL Server 2012 SQL 2012 - General Integer column shows 5.00000000000000000 as value RE: Integer column shows 5.00000000000000000 as value
Eirikur Eiriksson
SSC Guru
Points: 182882
More actions
September 5, 2015 at 8:25 am
#1824830
mar.ko (9/4/2015)INSERT WITH SELECT HAS THIS:,Convert(Int,TARG_SALES) AS TARG_SALESTreats the column as if it were formatted decimal !!
mar.ko (9/4/2015)
,Convert(Int,TARG_SALES) AS TARG_SALES
Treats the column as if it were formatted decimal !!
Looks more like a rounding trick in the insert, pretty certain the column's datatype is of a decimal type.
😎