What percentage of the time do you query on c1? If you query on c1 most of the time, then cluster the table first on c1, assuming it is at all reasonably selective.
If you do that, then you can create a nonclustered index on:
(c2, c3) or
(c3, c2)
Index first on whichever one you search on most often.
Of course to be sure about clustering you'd need to look at index stats, including index missing, index usage and index operational stats.
enrique_aeo
ASKER
c1, c2 and c3 are nonclustered index
the user enters the search parameters from webform.
The parameter are: firstname, lastname, nationalidnumber are varchar
if this is the question, then the answer probably is yes. you can do that.
or if this is not the question you asking for, pls elaborate further for your question.