update 表名 set 字段名=字段名*0.97 where 条件  
这个语句为什么不能用。
报错:
Truncation error occurred. 
Server Message:  Number  3621, Severity  10
Server 'DATASERVER', Line 1:
Command has been aborted.

解决方案 »

  1.   

    update 表名 set 字段名=字段名*(97/100) where 条件 运行完这个命令后为什么整个字段的所有值都变成0.00了??????????
      

  2.   

    企業管理器.......
    update 表名 set 字段名=字段名* cast(0.97 as decimal(10,2)) 看看
      

  3.   

    报错:
    Server Message:  Number  156, Severity  15
    Server 'DATASERVER', Line 1:
    Incorrect syntax near the keyword 'as'. update 表名 set 字段名=字段名* cast(0.97 as decimal(10,2)) where   这么写对吗?改为8位也不行