我指的是修改你的price字段的类型.

解决方案 »

  1.   

    --或者用四舍五入函数select  id,convert(decimal(12,2),round(sum(price),2)) as price from table1
    group by id
      

  2.   

    decimal(18,2)的数据类型 是不是只能 有2位的小数??? 
      

  3.   

    REAL类型好象才有6位小数点
    只有用UP啦
    别无选择的
      

  4.   

    好呀,你用什么工具写的??
      
    e-mail:  [email protected]