• bradfordshultz (4/8/2008)


    A)you shouldnt index 150 fields

    If you're using SQL 2000, you can't create a covering index over 150 fields. Index keys are limited to 16 columns.

    In 2005 and higher you can use include columns to create larger covering idexes.

    Can you save the exec plan and attach it to a post please. On 2000, best wey would be to switch ShowPlan_all on, run the query (to grid) then copy the results into Excel.

    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