截取小数点前的数字,不要四舍五入

select cast(1234.9678 as int)

输出结果为:1234
原文地址:https://www.cnblogs.com/qiangshu/p/5224538.html