Home Forums SQL Server 2008 T-SQL (SS2K8) Prevent Stored Procedure using bad execution plan RE: Prevent Stored Procedure using bad execution plan

  • Ask the DBA for the code and the plans please. Without them there's minimal chance that we can help you.

    Have you tried with recompile and is the overhead unacceptable? I've used it on heavily used procs before without problems.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass