Query Parameterization and Plan Forcing

Sdílet
Vložit
  • čas přidán 7. 05. 2020
  • If you like what you see here, you'll love my advanced performance tuning training:
    learn.erikdarling.com/
    In this video, we're going to look at how Query Store treats queries that use literal values vs queries that use parameters, and how it can mess with forcing the right execution plan for a query.
  • Věda a technologie

Komentáře • 5

  • @minnrick7986
    @minnrick7986 Před 2 lety +1

    Thanks Erik, extremely informative as always. Question: Are there any special syntactical rules that apply when trying to use parameterized SQL (the proper kind) and one of the variables is an OUTPUT? I'm doing some tuning and have run into some plan reuse headaches when OUTPUT variables are involved.

    • @ErikDarlingData
      @ErikDarlingData  Před 2 lety

      I haven't run into that. Can you share a repro using a GitHub gist or something?

  • @dinsharma1409
    @dinsharma1409 Před 3 lety

    where do I get those script plz?