Link to home
Start Free TrialLog in
Avatar of srinivas_gowd
srinivas_gowd

asked on

Generating a series of continuous numbers in oracle accepting from and two numbers from the user(using sql query)

Can Any body help me,

Generating a series of continuous numbers in oracle accepting from and two numbers from the user(using sql query)

hello friends i want to generate a series of numbers in oracle,i will pass from and to numbers,now it has to generate a series of numbers between given from and to numbers.using sql query

thanks in advance

srinivas gowd

srinivas_gowd@yahoo.co.uk
ASKER CERTIFIED SOLUTION
Avatar of andrewst
andrewst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ora_user2003
ora_user2003

srinivas_gowd,

  I think it will be helpful to all  if u specify where this  series is going to be used.Inside a function as a cursor or just inside some reports or anything .I dont think there is a way to generate using sql query the numbers between all ranges .
U might need to write a function for that .or may be u can use dbms_sql to create a sqeunce dynamically and then drop it later on after the use .It all depends on where u r going to use it .
  just curious to know where such a provision is needed .