All Tags »
SQL Server »
CTE (RSS)
Sorry, but there are no more tags available to filter with.
-
Sometimes I need to have a huge table to make performance tests and I want to create the table easily. I found a simple way of producing these test data using CTE in a creative way and decided to post it so I can have it at hand when needed and maybe somebody will find it useful.
The trick is to have a CTE Select that generates numbers from 0 to ...