sql - It is possible to do a autonumber sequence in a SELECT on Oracle? -


i need task in oracle don't know how can possible this.

ok, need select when define autonumber sequence on-the-fly.

for example:

select autonumber(1, 9000) auto some_table 

and result be

auto ------ 1 2 3 4 5 6 7 8 9 10 ... 9000 

this possible do? there oracle build in function me doing this?

select    rownum    dba_objects,    dba_objects   rownum <= 9000; 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -