I have two numbers as input from the user, like for example 1000 and 1050.
1000
1050
How do I generate the numbers between these two numbers, using
It work for me !
select top 50 ROW_NUMBER() over(order by a.name) + 1000 as Rcount from sys.all_objects a