1-- Precision of 10 and a scale of 2
2SELECT CONVERT(DECIMAL(10, 2), col_name)
3
4SELECT CONVERT(DECIMAL(10, 2), 2.999999) -- 3.00
5SELECT CONVERT(DECIMAL(10, 2), 12352.334) -- 12352.33
6SELECT CONVERT(DECIMAL(10, 2), 12564258524132.336) -- Error: data truncation