Re: Re: query re-write
Originally posted by slimdave
A composite index on ParticipantID, ParticipantIDMM, InstrumentID, and maybe timesamp sounds like a good idea. Although 200 rows is so little that the index might possibly get ignored.
Are you sure that the distinct is also required?
To Add, If Card of these Cols is pretty less, go for BIT Map Index.
Else Normal.
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"