I have a question about equivalent search result, that can occur on different fields.
Let's say I record the logical deletion state of records with 3 fields like :
- Boolean Deleted
- Date DeleteDate
- String DeleteUserName
The goal of the query is to avoid having deleted records into my selection. So I can search the first field with only 2 values (True/False), or on the deletion date : a lot of different values, or on the username, different values but not a lot.
What will give the best search result time, regarding the index usage ?