OPTION(KEEPFIXED PLAN) for SQL 2005?

  • Hi,

    we are using SQL 2005 and want to keep the fixed execution plan not being recompile regardless of any statistics changes. What's the syntax of approaching this?(For SQL 2000 it's 'OPTION(KEEPFIXED PLAN)' but for SQL 2005 we dunno yet) Thanks a lot.

    Thanks and regards,

    Wallace Chan

  • You can do the same with SQL Server 2005.

    You also have the option of provide plan guides. Here's an introduction on the topic from Microsoft.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

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

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