MySQL Forums
Forum List  »  Newbie

Re: Move several fields from multiple tables to a new table
Posted by: Paul Grimes
Date: November 20, 2021 05:05AM

Thanks
Fortunately, each line of data also has a unique GUID, so after a bit of testing a simple scrips like this worked

INSERT INTO test
SELECT Job_No, reportGuid,R4500,R4501 FROM acimport WHERE MUsed = YES
So now its a case of just going through the tables.
Thanks

Options: ReplyQuote


Subject
Written By
Posted
Re: Move several fields from multiple tables to a new table
November 20, 2021 05:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.