I run a similar command on many tables where the table name differs but the structure is the same i.e U##table name = table name minus the first 3 characters U##. Is there a simpler way to extract all tables owned by user a where the table name is like U## and the upper table value is the U## table table minus the first 3 characters.
UPDATE cars
SET U##model_no = UPPER(model_no);
UPDATE trucks
SET U##license_no = UPPER(license_no);
