jedimastermopar
04-04-2007, 05:08 PM
Hey.
I have a table with 3 coloumns
IDnum, X and y
x and y are doubles
I need a query that will display the 10 closest cross references of the x and y values with no limiting span from the input x and y.
I want to return the IDnum's for those 10 matches.
That table has around 80,000 records in it, and is expected to see the query run against probably a few dozen times per day. Not heavy use but the performance is a must from this query.
Any ideas where to start?
I have a table with 3 coloumns
IDnum, X and y
x and y are doubles
I need a query that will display the 10 closest cross references of the x and y values with no limiting span from the input x and y.
I want to return the IDnum's for those 10 matches.
That table has around 80,000 records in it, and is expected to see the query run against probably a few dozen times per day. Not heavy use but the performance is a must from this query.
Any ideas where to start?