update 表名 set 字段名=字段名*0.97 where 条件
这个语句为什么不能用。
报错:
Truncation error occurred.
Server Message: Number 3621, Severity 10
Server 'DATASERVER', Line 1:
Command has been aborted.
这个语句为什么不能用。
报错:
Truncation error occurred.
Server Message: Number 3621, Severity 10
Server 'DATASERVER', Line 1:
Command has been aborted.
update 表名 set 字段名=字段名* cast(0.97 as decimal(10,2)) 看看
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位也不行