General information
Category:
Coding, syntax & commands
>Just a question I have in optimizing an application that I'm working on. What's faster a SEEK on an index or a SELECT with a WHERE statement
Hi Ed,
You can determine which is faster by timing a loop of about 100,000 iterations where your SEEK or SELECT statement is in the middle. Do you need to be on the record or just need the values? SELECT won't put you on the record but it will give you the values just as well as the SEEK. If you just want to know if the key value is there you can also use INDEXSEEK() which was created for this purpose.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only