Check Constraints And Query Performance In SQL Server

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • Become a member! / @erikdarlingdata If you like what you see here, you'll love my advanced performance tuning training:
    training.erikd... Click here for 50% off a health check: training.erikd...

Komentáře • 29

  • @ScorpionJL
    @ScorpionJL Před měsícem +2

    I think I'm an expert in SQL Server and then I watch a video of yours and am humbled.

    • @ErikDarlingData
      @ErikDarlingData  Před měsícem +1

      You’re not alone. I find myself humbled on a daily basis.

  • @ArunnGupta
    @ArunnGupta Před měsícem +1

    Amazing.. Hidden treasures of SQL by Erik

  • @alexandermayerkirstein
    @alexandermayerkirstein Před měsícem +1

    Eric Darling, saving the world one wise query tip after another.

  • @mortezasafaee6981
    @mortezasafaee6981 Před měsícem

    Darling data class is the only class that youre not getting tired gracias maestro....

  • @Devanshu_Maurya
    @Devanshu_Maurya Před měsícem +2

    Amazing class sir

  • @alexandermayerkirstein
    @alexandermayerkirstein Před měsícem +2

    “Over-communicate to SQL Server” words to live by…

  • @mohsensayadian
    @mohsensayadian Před měsícem +1

    Thank you for the informative information.

  • @douglascoats7081
    @douglascoats7081 Před měsícem +2

    I used to have constraints but now im uninhibited and i do all sorts of silly things.

  • @MathieuDaigle
    @MathieuDaigle Před měsícem +2

    Got interested by your comments about not using constraint in data warehouse. Do you have other tips for Data Warehouses in general?

  • @Variant55
    @Variant55 Před měsícem +2

    If I don't laugh at my own jokes then who will?

  • @marancibia1971
    @marancibia1971 Před měsícem

    I definitely learned something new. Thanks. This constraint has a positive impact on query performance. But will it have a negative impact on INSERT, UPDATE operations? I think it's a trade-off.

    • @ErikDarlingData
      @ErikDarlingData  Před měsícem

      Everything with databases is. There’s no such thing as a free feature.

  • @bartimaeus1839
    @bartimaeus1839 Před měsícem

    Always learning new things. Thanks! What about not trusted constraints? Still helpful?

    • @ErikDarlingData
      @ErikDarlingData  Před měsícem

      Helpful for what

    • @bartimaeus1839
      @bartimaeus1839 Před měsícem

      @@ErikDarlingData for generating optimal plan

    • @bartimaeus1839
      @bartimaeus1839 Před měsícem

      @@ErikDarlingData for generating optimal plan

    • @bartimaeus1839
      @bartimaeus1839 Před měsícem

      @@ErikDarlingData in generating optimal plan. Does the engine use the constraint the same way if it's in untrusted mode?

    • @ErikDarlingData
      @ErikDarlingData  Před měsícem

      @@bartimaeus1839 Oh, no, not in my experience.