Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Recursive CTE in T-SQL

Recursive CTE in T-SQL

Scheduled Pinned Locked Moved Database
learningdatabasesql-servercomsysadmin
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahul_Biswas
    wrote on last edited by
    #1

    Hi CodeProject members, Greetings! After being a passive reader of CodeProject articles for so long a time, it feels great to be actively contributing something to this thriving and extremely helpful community. Recently, I decided to undertake the task of explaining some relatively complex concepts of T-SQL, SQL Server and MSBI, in an effort to give back something to the community I have been learning from for so long. My goal is to simplify the explanation and elucidation of the concepts as much as possible, at the expense of being annoyingly verbose if need be. ;P To this effect, I started with explanation of a recursive Common Table Expression in t-SQL. My article can be found at [Recursive CTE] Now this is my first attempt at explaining something in writing. I need feedback-, how have I fared overall, suggestions for improvement, possible topics for later etc. Thus, I am sincerely hoping, active community members would help me out in this regard. I have tried explaining the recursive CTE concept to the best of my ability here. But of course, often one's best is still lacking in some respects. Please come forth with your comments and feedback. Could I have used a better example to explain the concept? Could I have used better formatting for the code snippets? Or the result-sets? How could I have ensured that this article is as helpful as possible to a person who is finding it difficult to grasp the recursive CTE concept? Looking forward to hearing from you.

    L 1 Reply Last reply
    0
    • R Rahul_Biswas

      Hi CodeProject members, Greetings! After being a passive reader of CodeProject articles for so long a time, it feels great to be actively contributing something to this thriving and extremely helpful community. Recently, I decided to undertake the task of explaining some relatively complex concepts of T-SQL, SQL Server and MSBI, in an effort to give back something to the community I have been learning from for so long. My goal is to simplify the explanation and elucidation of the concepts as much as possible, at the expense of being annoyingly verbose if need be. ;P To this effect, I started with explanation of a recursive Common Table Expression in t-SQL. My article can be found at [Recursive CTE] Now this is my first attempt at explaining something in writing. I need feedback-, how have I fared overall, suggestions for improvement, possible topics for later etc. Thus, I am sincerely hoping, active community members would help me out in this regard. I have tried explaining the recursive CTE concept to the best of my ability here. But of course, often one's best is still lacking in some respects. Please come forth with your comments and feedback. Could I have used a better example to explain the concept? Could I have used better formatting for the code snippets? Or the result-sets? How could I have ensured that this article is as helpful as possible to a person who is finding it difficult to grasp the recursive CTE concept? Looking forward to hearing from you.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It is bad form to try and promote your article in the forums. You will get feedback when people read your article.

      R 1 Reply Last reply
      0
      • L Lost User

        It is bad form to try and promote your article in the forums. You will get feedback when people read your article.

        R Offline
        R Offline
        Rahul_Biswas
        wrote on last edited by
        #3

        Sigh! I thought I have already been through all this with one person. :sigh: Look. I wanted to post my message only once. At one place. But when I get confronted with a message like 'Message Removed', what is a newbie like me supposed to think? That maybe this isn't the right place to post a message like this. This happened to me when I went to post the message elsewhere too. Therefore the repetition.

        L 1 Reply Last reply
        0
        • R Rahul_Biswas

          Sigh! I thought I have already been through all this with one person. :sigh: Look. I wanted to post my message only once. At one place. But when I get confronted with a message like 'Message Removed', what is a newbie like me supposed to think? That maybe this isn't the right place to post a message like this. This happened to me when I went to post the message elsewhere too. Therefore the repetition.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You are not a newbie, you have been a member over 7 years. Plenty of time to read the stickies at the top of each forum.

          R 1 Reply Last reply
          0
          • L Lost User

            You are not a newbie, you have been a member over 7 years. Plenty of time to read the stickies at the top of each forum.

            R Offline
            R Offline
            Rahul_Biswas
            wrote on last edited by
            #5

            I am a newbie when it comes to posting an article here. I am a newbie when it comes to posting a message here. I am a newbie when it comes to confronting a message like 'Message Removed' once I make an edit to a message here. I might have joined CodeProject 7 years back. But I was not an active community member here.

            L 1 Reply Last reply
            0
            • R Rahul_Biswas

              I am a newbie when it comes to posting an article here. I am a newbie when it comes to posting a message here. I am a newbie when it comes to confronting a message like 'Message Removed' once I make an edit to a message here. I might have joined CodeProject 7 years back. But I was not an active community member here.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              That is no excuse.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups