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