BluePeter - Thursday, August 9, 2018 5:07 AM
The reason you think there is no difference is because of what you're measuring and the way your measuring it. There's another thing to consider, as well...
If you practice the wrong way just because of low row counts, you'll never get good at the right way. You also don't have to actually build the cCTE method (Cascading CTEs rather than Recursive CTEs) each and every time you want a sequence of numbers. You can easily build an iTVF (Inline Table Valued Function) that will do that for you and, unlike scalar functions and mTVFs (Mult-statment Table Valued Functions), provides no additional hit if you refer to it within other iTVFs.
--Jeff Moden
Change is inevitable... Change for the better is not.