Update column value divisible by 100
-
18-01-2021 - |
Solution
You can use the Modulo operator, something along these lines:
UPDATE YourTable
SET NewBalance = Balance - (Balance % 100);
HTH
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange