SQL Server Query Tuning Best Practices - Part 2

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 5

  • @nikostrivlis4322
    @nikostrivlis4322 Před 7 lety

    In your compound index slide you mention that the WHERE clause with a=@a and c=@c and b=@b may partially use the index. Why that happens since all the first three columns of the index a, b and c are referenced in the where clause?

    • @vishroxx10
      @vishroxx10 Před 7 lety

      Good read to understand the internal of composite indexes stackoverflow.com/questions/795031/how-do-composite-indexes-work

  • @mauroldanr
    @mauroldanr Před 7 lety +1

    could you post the code you show in the video? thanks :)

    • @kevinkline2392
      @kevinkline2392 Před 5 lety

      The demo code is available in articles on sqlperformance.com which correspond to each demonstrated technique.