sql中存在除法时保留小数

 cast(cast(1 as float)*1.0/100 as dec(18,2))

posted @ 2020-04-10 17:14  心中Where_True循环  阅读(731)  评论(1编辑  收藏  举报