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