I am currently trying to obtain 2 records out of a table that consist of 1 million records. I want the person with the highest last name and the person with the lowest last name.
Using BETWEEN or <> operators in my where statement seems to take longer than a SEEK comand.
Which is more efficient... SEEK or SQL SELECT? Why? Should they be used at different times?
Thank You,
Marissa
Using BETWEEN or <> operators in my where statement seems to take longer than a SEEK comand.
Which is more efficient... SEEK or SQL SELECT? Why? Should they be used at different times?
Thank You,
Marissa