Consider doing the following instead.
You mentioned you already have a table with the 10,000 items in. So, instead of searching you arry on 100 10,000 times.
Simply, search your temp table of 10,000 1 100 times. Turn it round the other way, it is much more effiecent.
Jamie