Re: Ado SQL Concept question.
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 03/04/04
- Next message: Brian Bushay TeamB: "Re: Lookup"
- Previous message: Brian Bushay TeamB: "Re: How to avoid Access.LockFile.9 created"
- In reply to: RPM: "Ado SQL Concept question."
- Next in thread: RPM: "Re: Ado SQL Concept question."
- Reply: RPM: "Re: Ado SQL Concept question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 03 Mar 2004 19:54:35 -0600
>I need to do single record lookups - thousands of times - now my SELECT
>statement works great and only returns the fields that my program requires.
>So I have tried to keep it simple. However it is just increadibly SLOW,
>when compared to the old dBase index file seeks. Is there anyway to
>optimize this query?
Why do you have to do single field lookups in a repetitive manner?
There isn't much speed to be gained in a better lookup strategy it would be best
to find out if your whole strategy is flawed.
With a database that can do SQL it is best to do most of the work in queries
rather than iterating records.
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Next message: Brian Bushay TeamB: "Re: Lookup"
- Previous message: Brian Bushay TeamB: "Re: How to avoid Access.LockFile.9 created"
- In reply to: RPM: "Ado SQL Concept question."
- Next in thread: RPM: "Re: Ado SQL Concept question."
- Reply: RPM: "Re: Ado SQL Concept question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]