Results 1 to 2 of 2

Thread: bad query plan

  1. #1
    Join Date
    Jun 2003
    Posts
    140

    Unanswered: bad query plan

    Hi there

    how do u remove bad query plan from cache ?
    recompile or recreate ?

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    If you are talking about a proc, drop and re-create should do the trick.

    If it is a query, then need some tricks changing statistics with optdiag.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •