A
Andy
Hi guys
Using Access 2003 on a P4 with 1mb ram so should have sufficent
processing power.
I run a parameterized query to find a number which is between column 1
('Beginning') and column 2 ('Ending').
I call the query, pass the parameter and it is taking 9-10 seconds to
return the result.
The table it is querying has 4.4 million records so maybe this is the
best it can do.
Both the Beginning and Ending columns have an index.
Below is the query code - any suggestions would be appreciated.
Thanks....Andrew
Bendigo Australia
===================================================================
PARAMETERS IPNumber IEEEDouble;
SELECT IPdata.Beginning, IPdata.Ending
FROM IPdata
WHERE (((IPdata.Beginning)<[IPNumber]) AND
((IPdata.Ending)>[IPNumber]));
===================================================================
Using Access 2003 on a P4 with 1mb ram so should have sufficent
processing power.
I run a parameterized query to find a number which is between column 1
('Beginning') and column 2 ('Ending').
I call the query, pass the parameter and it is taking 9-10 seconds to
return the result.
The table it is querying has 4.4 million records so maybe this is the
best it can do.
Both the Beginning and Ending columns have an index.
Below is the query code - any suggestions would be appreciated.
Thanks....Andrew
Bendigo Australia
===================================================================
PARAMETERS IPNumber IEEEDouble;
SELECT IPdata.Beginning, IPdata.Ending
FROM IPdata
WHERE (((IPdata.Beginning)<[IPNumber]) AND
((IPdata.Ending)>[IPNumber]));
===================================================================