I'm updating a value in my DB for locations of my clinics. Right now I have clinic
column across multiple tables that state the city they are in. Currently have 35 and it is compressed into a no space string (IE: FortSmith). I'm wanting to retroactively adjust each of these values with a different format and then use that format going forward with my appending.
UPDATE transactions
SET clinic='07 - Fort Smith'
WHERE clinic='FortSmith'
The update is simple, however I have 35 different locations and a good amount of tables that share this column clinic
Is there any way I can have this test against all tables for the column clinic
and update where it applies?