I have built an Access database which achieves the objective of taking a number of source files each month, and performing data manipulation (filters, lookups etc), to generate outputs files in the required format.
In order to achive this there are several instances where I used "stacked queries", for example starting out with table1, then creating query1 based on table1, then having query2 based on query1, and query3 based on query2, etc, often getting as far as query5 or so.
Now given that some of my source tables have 250,000 records and 10 or so fields, running these stacked queries seems slow (up to 1 hour).
My question is if I was to make all my queries into make table queries, and then based my next query off the table, would it increase the run speed? Of course I would create a macro to run all the make table queries in the required order. This would mean having a lot more tables in my database, so would I see any improvement, and is it worth it?
Alternatively is there any other way I could improve this situation? I can write a bit of SQL, but don't have any experience of VB.
Thank you for reading, any advice will be appreciated.
Monti.
In order to achive this there are several instances where I used "stacked queries", for example starting out with table1, then creating query1 based on table1, then having query2 based on query1, and query3 based on query2, etc, often getting as far as query5 or so.
Now given that some of my source tables have 250,000 records and 10 or so fields, running these stacked queries seems slow (up to 1 hour).
My question is if I was to make all my queries into make table queries, and then based my next query off the table, would it increase the run speed? Of course I would create a macro to run all the make table queries in the required order. This would mean having a lot more tables in my database, so would I see any improvement, and is it worth it?
Alternatively is there any other way I could improve this situation? I can write a bit of SQL, but don't have any experience of VB.
Thank you for reading, any advice will be appreciated.
Monti.
Last edited: