#去除Decimal后面多余的0
#处理前
SELECT '0.12000','1.203010','-0.20'
#处理后
SELECT 0+CAST('0.12000' AS CHAR),0+CAST('1.203010' AS CHAR),0+CAST('-0.20' AS CHAR)
#去除Decimal后面多余的0
#处理前
SELECT '0.12000','1.203010','-0.20'
#处理后
SELECT 0+CAST('0.12000' AS CHAR),0+CAST('1.203010' AS CHAR),0+CAST('-0.20' AS CHAR)
转载于:https://www.cnblogs.com/DoNetCShap/p/7606517.html