Someone entered a ton of numerical data into a table with a backslash.
Is there a clean way to flip a character in a numeric column using an SQL statement?
update my_table set amount = -amount where <whatever>
UPDATE [table] SET [column]=([column]*(-1))
You can add the sentence WHEREneeded to limit which lines you flip characters to.
WHERE
.
update table set column = -column;
UPDATE MyTable SET amount = -amount WHERE amount = ABS(amount)
= ABS (), . , .