Update column value divisible by 100
-
18-01-2021 - |
解决方案
You can use the Modulo operator, something along these lines:
UPDATE YourTable
SET NewBalance = Balance - (Balance % 100);
HTH
不隶属于 dba.stackexchange
解决方案
You can use the Modulo operator, something along these lines:
UPDATE YourTable
SET NewBalance = Balance - (Balance % 100);
HTH