MS Access: index optimisation
        Posted  
        
            by Patrick Honorez
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Patrick Honorez
        
        
        
        Published on 2009-12-18T14:17:15Z
        Indexed on 
            2010/03/17
            12:01 UTC
        
        
        Read the original article
        Hit count: 244
        
Let's say we have a [Valuations] table containing several values per date and per fund:
-FundId
-ValDate
-Value1
-Value2...  
The Primary key is obviously FundId+ValDate.
I have also indexed the ValDate field since I often query for values on a specific date.   
My question is: should I also create a specific index for the FundId, or is MsAccess clever enough to use the Primary key when querying on a specific FundId ?
© Stack Overflow or respective owner