Update column value divisible by 100
-
18-01-2021 - |
La solution
You can use the Modulo operator, something along these lines:
UPDATE YourTable
SET NewBalance = Balance - (Balance % 100);
HTH
Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange