I need a good set based solution to run a select statement that generates :
131234 2
134321 5
154234 3
I need:
131234
131234
134321
134321
134321
134321
134321
154234
154234
154234
I can think of several convoluted ways of getting here but there has to be a slick set-based solution.
Anybody?
Much thanks in advance.
Paul
131234 2
134321 5
154234 3
I need:
131234
131234
134321
134321
134321
134321
134321
154234
154234
154234
I can think of several convoluted ways of getting here but there has to be a slick set-based solution.
Anybody?
Much thanks in advance.
Paul