Fastest DataSet scenarion
Posted: Thu 12 Feb 2015 12:17
Hello,
I need to have one dataset (UniQuery, UniTable, ...) which will fetch all data from database, and just use for searching (Locate, FindNearest, ...) no return data, no updates, no nothing like that. But! I need fastest way to fetch data into which dataset component i which is bes and fastest search criteria (for example I have 5 fields name, office, street, city and zip) and user can enter any of data (for example 'NewYork') my procedure check is this name if not is this office if not is this city and bingo if it find that it is a city to position dataset on first match record and sort by that field.
Dataset should have in some cases more than 25.000 records
Thanks in advance...
I need to have one dataset (UniQuery, UniTable, ...) which will fetch all data from database, and just use for searching (Locate, FindNearest, ...) no return data, no updates, no nothing like that. But! I need fastest way to fetch data into which dataset component i which is bes and fastest search criteria (for example I have 5 fields name, office, street, city and zip) and user can enter any of data (for example 'NewYork') my procedure check is this name if not is this office if not is this city and bingo if it find that it is a city to position dataset on first match record and sort by that field.
Dataset should have in some cases more than 25.000 records

Thanks in advance...