query optimization

  •  

     

    • This topic was modified 4 years, 7 months ago by  smoham22.
  • WITH (nolock) isn't a magic "go faster" button. It's allowing dirty reads. If you want it to read faster, index the columns in the joins and the filters.

    We don't even know what your query is supposed to do, and we don't have any scripts for the tables involved. Is this a game of pin the tail on the donkey?

    Maybe read this

    • This reply was modified 4 years, 7 months ago by  pietlinden. Reason: additional info

Viewing 2 posts - 1 through 1 (of 1 total)

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