R
Rebecca
Just wondering what Access best practices are.
I always build nested queries -- 1) identify the population then 1b) subset
(men) then 1c) men with blue eyes, brown eyes, etc. 1b) subset2 (women) 1c)
women with blue eyes, brown eyes, etc.
However, a colleague of mine who uses Oracle is now starting to use Access,
and she doesn't use nested queries -- she builds each query independently:
1) men with blue eyes 2) men with brown eyes 3) women with blue eyes, etc.
I think this is poor form -- you want to make sure you have a consistent
universe you're starting with, and then create the subqueries off of it;
there's too great a chance you'll leave out a little detail in one of the
queries, and my way makes certain you're comparing apples to apples.
It also makes it harder to track her queries, since there are no object
dependencies--you have to open each one and read it to see what it's all
about. Also harder to make changes--you have to change every query, instead
of embeddnig the change in one nest level, which will then automatically
carry over into the lower levels.
However--what do others feel? Are both methods equally good?
I always build nested queries -- 1) identify the population then 1b) subset
(men) then 1c) men with blue eyes, brown eyes, etc. 1b) subset2 (women) 1c)
women with blue eyes, brown eyes, etc.
However, a colleague of mine who uses Oracle is now starting to use Access,
and she doesn't use nested queries -- she builds each query independently:
1) men with blue eyes 2) men with brown eyes 3) women with blue eyes, etc.
I think this is poor form -- you want to make sure you have a consistent
universe you're starting with, and then create the subqueries off of it;
there's too great a chance you'll leave out a little detail in one of the
queries, and my way makes certain you're comparing apples to apples.
It also makes it harder to track her queries, since there are no object
dependencies--you have to open each one and read it to see what it's all
about. Also harder to make changes--you have to change every query, instead
of embeddnig the change in one nest level, which will then automatically
carry over into the lower levels.
However--what do others feel? Are both methods equally good?