Skip to content
 

Create Index on Table Variable

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Create Index on Table Variable”.

8 Comments

  1. Ed Graham says:

    Fantastic tip, particularly after I read on StackOverflow that it couldn’t be done. My query involving an inner join on a table without a PK went from 3m 23s to 17s!

  2. Julianne says:

    Great Derek! Thanks for the tip:)

  3. Daniel N says:

    Awesome tip, my query batch went from 7 minutes down to 12 seconds.

  4. Adam says:

    Blimy, this optimised my stored procedure. It took it down from 6 mins to 22 seconds. Thank you.

  5. George says:

    Thanks Derek. A unique composite constraint helped drop the execution time of my sproc by half.

  6. [...] This post was Twitted by SSISBI [...]

post a comment OR Post Your Question on our ASK! Community!