Hi,
I have a database with approximately 60 tables that are linked to 60 distinct Excel files. Each of these tables has an identical format and layout. The only difference is the data in the tables. One table shows sales, another shows cost of sales, another shows interest expense, etc.
I want to append all of these tables to a "master" table with an append query. Rather than build out 60 append queries, can I build one append query that dynamically updates and loops through all 60 tables and dumps the data into a master table?
What is the most efficient way to do this?
Thanks!
I have a database with approximately 60 tables that are linked to 60 distinct Excel files. Each of these tables has an identical format and layout. The only difference is the data in the tables. One table shows sales, another shows cost of sales, another shows interest expense, etc.
I want to append all of these tables to a "master" table with an append query. Rather than build out 60 append queries, can I build one append query that dynamically updates and loops through all 60 tables and dumps the data into a master table?
What is the most efficient way to do this?
Thanks!