会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Claricre
博客园
首页
新随笔
联系
管理
订阅
2017年12月15日
SqlServer中截取小数位数
摘要: 方法一:convert(float,字段名) as 别名 select convert(float,round(10.123232,2)) 结果:10.12 select convert(float,round(10,2)) 结果:10 方法二:cast(round(字段名,2) as numeri
阅读全文
posted @ 2017-12-15 17:30 Claricre
阅读(1243)
评论(0)
推荐(0)
编辑
公告