I have a DB of names (100 – 1000s) and I want to cycle through each name and determine if the name is in the string I am searching. I have the names broken up into first and last and I thought about using a search for last names first and then doing first names, since last names are less common than first.
My first question is about efficiency. Is this an efficient way? If not what would be better.
My second question is once I get to the Smiths and Kims in the list of last names there will be times that it isn’t a match to the first name in the string. How can I pick back up in the DB search where I left off?
Thanks for the help
Seth