Home Forums SQL Server 7,2000 General Bizarre issue while using datetime variable instead of harcoded value RE: Bizarre issue while using datetime variable instead of harcoded value

  • Definitely looks like parameter sniffing (or more correctly, the lack thereof)

    http://sqlinthewild.co.za/index.php/2008/02/25/parameter-sniffing-pt-2/

    Can you post execution plans please?

    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