Re: Nested Queries
- From: "Jeff Boyce" <nonsense@xxxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 16:53:58 -0700
Nick
Queries (nested or "chained" - my name for them) can be slow because the
underlying tables are not well-indexed. Is every field you use to join,
select by (criterion), or sort by indexed?
Is there some point in the chain/nest after which the queries slow down (but
they're fast before that point)? Can you post the SQL statement of THAT
(slowed-down) query?
Regards
Jeff Boyce
Microsoft Office/Access MVP
"Nick hfrupn" <Nickhfrupn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06E71F94-4F8C-426F-9266-DF07E539E774@xxxxxxxxxxxxxxxx
I'm not sure if nested queries is the correct term for a query that gets
it
data from another query. If it is, I am using a heap of queries nested to
get
the resultant data for my report but it seems to run very slow.
Is there a way of improving the performance to achieve the same result?
The
reason I used this method is that I am not very literate with code.
I appreciate any assistance.
Regards
Nick
.
- Prev by Date: RE: Multiple criteria causing confusion
- Next by Date: Re: Query on all tables?
- Previous by thread: RE: Multiple criteria causing confusion
- Next by thread: Re: 2 crosstabs
- Index(es):