delphi中使用adoquery的一个update语句:
update table1 set c1=100-c1;
执行结果正常如:
c1
1
2
3
执行后
c1
99
98
97
但是换成参数赋值时:
update table1 set c1=:x -c1;   
parameters[0].value:=100;
再执行后,就不对了
c1
99
99
99
请问为何啊?