Re: efficiency
- From: Smartin <smartin108@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 19:29:49 -0500
I suppose it depends on how you define "efficient". In one sense, it would be more efficient to do all the calculations in one query, so as to avoid writing multiple queries, and possibly the work entailed in stitching the correlated results together again later.
On the other hand, I have no idea. Is it more efficient from a processor POV to run multiple calculation queries versus one query with a bunch of calculations?
You could test this using VBA to time each method over several trials. But, I suspect (with absolutely no reason to other than intuition) if the number of records is relatively small (say, 1000s, not 1000000s) the difference will be negligible on modern equipment.
The Dummy in Access for Dummies wrote:
Is it better to have all of the calculations in one calculated query or should I have create a calculated query for each calculation? Query table; I mean like having the sum of a series of fields and the standard deviation of the same series of fields in the same query design? (keep in mind that this is just a simple example, I actually have quite a number of calculations)
"mscertified" wrote:
what do you mean by 'query table'?
"The Dummy in Access for Dummies" wrote:
In regards to efficiency, is it better to have one query table with all of the calculations in it, or to separate each calculation in a different query table?
--
Smartin
Click Submit only once or you may be charged for this call multiple times!
.
- Prev by Date: Re: Do the data type have to match from one table to another
- Next by Date: Re: table relationship
- Previous by thread: Re: Do the data type have to match from one table to another
- Next by thread: Re: table relationship
- Index(es):
Relevant Pages
|