Sorry, I do not understand what you are saying.
I have access only to My SQL and need to write procedure to copy data from tables with a specific prefix to tables with the same name and a suffix. Number of tables every day will be different.
Can you help me with this?