You could also do it with some .net coding in an asynchronous script component.
You read the value from number and use it in a for loop.
In each iteration of the loop, you output a row with the current value of the iterator.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP