All Questions
1 question
3
votes
4
answers
6k
views
Querying minimum value in SQL Server is a lot longer than querying all the rows
I'm currently confronted with a strange behaviour in my database when I'm querying a minimum ID for a specific date in a table contains about a hundred million rows. The query is quite simple :
...