Home Forums Article Discussions Article Discussions by Author Discuss content posted by Rafal S. Generating number sequences with Common Table Expressions RE: Generating number sequences with Common Table Expressions
nigel.
SSChampion
Points: 11636
More actions
October 4, 2011 at 3:03 am
#1390005
Have a look at this too, by Itzik Ben-Gan:
http://www.sqlmag.com/article/sql-server/virtual-auxiliary-table-of-numbers
Should perform better than a recursive CTE.
NigelHow to post questions