• tt-615680 - Friday, February 23, 2018 4:03 AM

    I’m looking intocreating indexes and I want to know which types of indexes are better and inwhich situations to use them INCLUDE and COVERING?

     

     

    Thank you inadvance!

    This is entirely too vague for anything resembling a cohesive response. What you are asking is a very big topic. I would suggest you start reading up on indexes in depth so you better understand how they work. Once you have that knowledge you will know what types of indexes would be appropriate in the situations you are asking about. Lucky for you there is a spectacular series of articles right here on SSC that discusses indexes from the basics to a pretty deep level. http://www.sqlservercentral.com/stairway/72399/

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/