I am stuck and can use a pointer or two. I have data in multiple tables in Schema A There may (or may not) be additional fields in an update (not important for the moment). I want to copy the data in Schema A into Schema B, but change the prefix on every table.
I can create Schema B with the data structure in Schema A and change the table prefixes using CREATE TABLE ... SELECT * from
That works
The sticking point is UPDATE. How do I update the information in Schema B with the data from Schema C ?
A and C are identical, C has the more recent information.
My question: 100 tables, how to do a batch update of all records using the information in Schema C ?
There are no keys
Thanks. Constructive suggestions cheerfully accepted.
CREATE TABLE gets me part way there. Need Update Table