SQL Rotating numbers
Posted
by vinodacharyabva
on Stack Overflow
See other posts from Stack Overflow
or by vinodacharyabva
Published on 2009-07-24T08:09:15Z
Indexed on
2010/04/21
2:03 UTC
Read the original article
Hit count: 344
I want to create a rotating logic in sql like consider there are 3 numbers 1,2,3 then first week 1,2 will be selected next 3,1 next 2,3 and so on..... if there are 4 numbers 1,2,3,4 then 1,2 next 3,4 next 1,2 so on... Like that i want to generate the numbers in sql server.Please help me.
© Stack Overflow or respective owner