I need to do a task in Oracle, I do not know how I can do it.
Ok, I need to do SELECT when I define an autonumber sequence on the fly.
For instance:
Select autonumber(1, 9000) as auto from some_table
And the result will be
auto
------
1
2
3
4
5
6
7
8
9
10
...
9000
Could this be done? Is there any oracle function in a function that will help me do this?
source
share