In an SQL SERVER 2000 table,there is a column called Kpi of float type.
when try to convert that column to varchar(cast(kpi as varchar(3))),It gives an error
Msg 232, Level 16, State 2, Line 1
Arithmetic overflow error for type varchar, value = 26.100000.
The thing is the column has only one distinct value and that is 26.1. I can not understand why does it show error when converting it into varchar!