'dynamically join tables when a new table created dinamically in sql

i have tables created dynamically have numbered names like Tbl0,Tbl1,Tbl2,Tbl3 ......etc

how can i join this Tables automatically with the new dynamically created Tables when evry new Table created in sql? thanks in advance for your help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source