I have database, and in one the tables I need change the values of a column, due to a mix up with another developer. I have table called credits, and a column called credit_type.
credit_type has 2 values long and short.
How can I replace all the values that are long to read short, and all the values that are short to read long?
Wrap it all in a transaction for full reliability.