Index selection

  • Hi everyone,

    I would like to know which index is best for query performance?

    With regards,

    Sunil

  • a covering index - Index contains all data returned by the query thus preventing the need for look ups.

    Gethyn Elliswww.gethynellis.com

  • It depends.

    clustered index better for range scans, nonclustered better for specific rows, covering always good.

  • Depends on the data, depends on the table structure, depends on the query.

    It's not a question that can be answered in isolation.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply