Benefits of Common Table Expressions

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • On this episode of Joes 2 Pros SQL server unlocked series we present a topic for anyone who has ever been exposed to SQL Server, Common Table Expressions.
    A CTE is memory resident table. You are pulling from that query and giving it a name. This table adds enhancements to the old tables. It allows you to open up to new people without having an increased security risk. This is extremely beneficial for anyone who is exposed to SQL Server as keeping your content safe is a top concern for most organizations.
    In this video, he will take you through a very real example from a department store quarterly reporting. He wants to do a seasonal reporting from all the departments of a store excluding snow sports and cooking. He shows you how to make the code more simple and reduce human error.
    Having CTE knowledge will be greatly beneficial to you in your everyday career. Please be sure to follow along our blog series. Stay tuned next week to learn more about Dynamic SQL. To learn more about he benefits of common table expressions view our course Developer 2012 Volume 2 Video 10.1.
    See more at: www.joes2pros.c...
    Full Blog: joes2prosblog.s...

Комментарии • 9

  • @nicolasjimenezq369
    @nicolasjimenezq369 2 года назад

    Great explanation!

  • @ryanqvincent144
    @ryanqvincent144 3 года назад

    CTE's are the same as View's but not stored in the database. Quite useful indeed. They definitely help people to understand the more complex queries. They help with debugging as well. Thanks for this.

  • @TheAndozio
    @TheAndozio 4 года назад

    Good explanation. CTE command of expression. Thanks for the help;

  • @Oralden
    @Oralden 7 лет назад

    Good explanation of CTE's! Thanks!

  • @narendrak36
    @narendrak36 6 лет назад

    Is there any performance advantages in cte than subquery?? Like the cte executes only once and can execute multiple times whereas subquery executes multiple times wherever we use

  • @loganboyd
    @loganboyd 9 лет назад +1

    Is that supposed to say DERIVED table?

    • @Joes2Pros
      @Joes2Pros  9 лет назад

      ***** Yes thanks for the edit Logan!

  • @AnilSharma-vi2ii
    @AnilSharma-vi2ii 5 лет назад

    please Sir describe Cursor in detail.